Olekss
07/06/2018, 6:55 AMmonku
07/06/2018, 6:58 AMOlekss
07/06/2018, 6:58 AMdavid-wg2
07/06/2018, 7:05 AMalex2069
07/06/2018, 7:09 AMtypealias
Andreas Sinz
07/06/2018, 7:44 AM(T) -> R
?hho
07/06/2018, 8:07 AMarekolek
07/06/2018, 8:19 AMdavid-wg2
07/06/2018, 8:21 AMAndreas Sinz
07/06/2018, 8:58 AM(T) -> R
is just a Function<T, R>
under the hood and can be used from java just finedavid-wg2
07/06/2018, 8:58 AMAndreas Sinz
07/06/2018, 8:59 AM(T) -> R
?david-wg2
07/06/2018, 8:59 AMAndreas Sinz
07/06/2018, 9:04 AMtypealias
and the method-name is the argument-name, but doesn't work in javadavid-wg2
07/06/2018, 9:05 AMAndreas Sinz
07/06/2018, 9:13 AM(T) -> R
can be used, doesn't matter if its a top-level function, "static" function or an instance method. Using a SAM-Interface, the method/function has to be wrapped inside an anonymous object (lambda) that implements the Interfacesubset
, what is possible with an interface but not with a functional type?david-wg2
07/06/2018, 9:17 AMkarelpeeters
07/06/2018, 10:34 AMAndreas Sinz
07/06/2018, 11:07 AM(T) -> R
just a Function<T, R>
?tipsy
07/06/2018, 3:02 PMlouiscad
07/06/2018, 9:26 PMAndreas Sinz
07/07/2018, 11:40 AM