Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //object methodReference
- System.out::println;
- //Class::staticReference
- Math::max // static reference
- (x,y) -> Math.max(x,y);
- //Class::instanceMethod
- String::length // class instant method
- x -> x.length() // lambda
Add Comment
Please, Sign In to add comment