Last active
November 29, 2015 22:08
-
-
Save khamiltonuk/13f3d3b7b551838812ff to your computer and use it in GitHub Desktop.
Java 8 is coming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MyFunctionalInterface deepThought = () -> return 42; | |
| public void answerMe(MyFunctionalInteface calculator) { ... } | |
| answerMe(deepThought); | |
| answerMe(() -> return 42;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment