Join Slack
Powered by
How do I type a lambda if they compiler is giving ...
# announcements
m
Michael
10/17/2019, 6:52 PM
How do I type a lambda if they compiler is giving me an “`Overload resolution ambiguity`” ? I’m doing a thing like
.processor { it }
where processor can take a
Function
or a Functional Interface.
Michael
10/17/2019, 6:57 PM
.procoessor( ItemProcessor { ... })
worked. 🙂
Michael
10/17/2019, 7:11 PM
SAM conversion is the term I couldn’t remember and was causing my search to fail. Thanks!
5
Views
Open in Slack
Previous
Next