Aug 26, 2015 07:12 PM
(This post was last modified: Aug 26, 2015 07:17 PM by Avocado.)
Hey,
Can anyone tell me what this syntax is in Java?
invoke(() -> new Main());
What is "() ->" has something to do with a Runnable I'm assuming.
I can't find it in the docs though.
Lambdas guys.. new Java 8 operator. TIL.
Can anyone tell me what this syntax is in Java?
invoke(() -> new Main());
What is "() ->" has something to do with a Runnable I'm assuming.
I can't find it in the docs though.
Lambdas guys.. new Java 8 operator. TIL.


