February 2014
Intermediate to advanced
160 pages
4h 59m
English
| | public static Predicate<String> checkIfStartsWith(final String letter) { |
| | return name -> name.startsWith(letter); |
| | } |
If a method’s return type is a functional interface, we can return a lambda expression from within its implementation.