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

New Packages

java.util.function
java.util.stream

Modified Packages

Package New Classes Modified Classes
java.io UncheckedIOException
BufferedReader
java.lang   AutoCloseable
ThreadLocal
String
Iterable
CharSequence
Boolean
Integer
Long
Float
Double
java.lang.invoke LambdaMetafactory
SerializedLambda
LambdaConversionException
 
java.nio.file   Files
java.util PrimitiveIterator
PrimitiveIterator.OfDouble
PrimitiveIterator.OfInt
PrimitiveIterator.OfLong
Spliterator
Spliterator.OfDouble
Spliterator.OfInt
Spliterator.OfLong
Spliterator.OfPrimitive
DoubleSummaryStatistics
IntSummaryStatistics
LongSummaryStatistics
Optional
OptionalDouble
OptionalInt
OptionalLong
Spliterators
Spliterators.AbstractDoubleSpliterator
Spliterators.AbstractIntSpliterator
Spliterators.AbstractLongSpliterator
Spliterators.AbstractSpliterator
SplittableRandom
StringJoiner
Arrays
BitSet
Collection
Comparator
Iterator
List
Map
Map.Entry
LinkedHashMap
Random
TreeMap
java.util.concurrent   ThreadLocalRandom
java.util.jar   JarFile
java.util.zip   ZipFile
java.util.logging   Logger
java.util.regex   Pattern

Document References

Full JavaDoc
Specdiff for modified classes