News

When you write String::toUpperCase, Java binds each element of the stream (String object) to the toUpperCase() method. This means String::toUpperCase is interpreted as s -> s.toUpperCase(), where ...
The method now has fewer parameters and the parameters it does have are all of distinct types. IDEs and the Java compiler can now be especially helpful in ensuring that clients use this interface ...