Created
April 16, 2017 13:02
-
-
Save john77eipe/c77261fb9f10a0d96f10661011452b28 to your computer and use it in GitHub Desktop.
This file contains 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
//before | |
Runnable r1 = new Runnable() { | |
@Override | |
public void run() { | |
System.out.println("My Runnable"); | |
} | |
}; | |
//now | |
Runnable r2 = () -> System.out.println("My Runnable"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment