Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 285 Bytes

sendbox.md

File metadata and controls

15 lines (9 loc) · 285 Bytes

@FunctionalInterface - target type

// Assignment context
Predicate<String> p = String::isEmpty;

// Method invocation context
stream.filter(e -> e.getSize() > 10)...

// Cast context
stream.map((ToIntFunction) e -> e.getSize())...