JSR 335 API Summary
The API provided by JSR 335 includes both new classes and additions to existing
classes. The new classes are located primarily in the existing
java.util and
java.lang.invoke packages and the new
java.util.function and
java.util.stream packages. The
java.util.function package contains general purpose functional
interfaces that provide target types for lambda expressions and method
references. The
java.util.stream package contains the majority of the
interfaces and classes for the Streams functionality. The new classes in the
java.lang.invoke package provide runtime support for the lambda
language and the new classes in the
java.util package provide either
integration of the Java Collections Framework with Streams or new general
utility functionality used by the Steams feature.
Many additions to existing classes provide integration with the Streams
feature. Other additions enhance the utility of existing interfaces and classes
with methods that accept instances of functional interfaces (function values)
such that those methods can be utilized with lambda expressions or method
references