Created
July 7, 2015 06:03
-
-
Save beders/a4229baac6464e1c7e51 to your computer and use it in GitHub Desktop.
Optional parameters in lambdas
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
bus.register(msg -> { System.out.println("I gots a message") }); | |
bus.register((msg,param) -> { System.out.println("I gots a message w/ params"); }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment