- toImmutableList
Collector used at the end of a stream to build an immutable list. A collector is
used to gather data
- toImmutableSet
Collector used at the end of a stream to build an immutable set. A collector is
used to gather data
- toImmutableMap
Collector used at the end of a stream to build an immutable map. A collector is
used to gather data
- ensureOnlyOne
Reducer used in a stream to ensure there is no more than one matching element.
This method returns
- stream
Converts an optional to a stream with zero or one elements.
- casting
Function used in a stream to cast instances to a particular type without
filtering. This method retu
- filtering
Function used in a stream to filter instances to a particular type. This method
returns a function t
- firstNonEmpty
Uses a number of suppliers to create a single optional result. This invokes each
supplier in turn un
- toImmutableSortedMap
Collector used at the end of a stream to build an immutable sorted map. A
collector is used to gathe
- zipWithIndex
Creates a stream that wraps a stream with the index. Each input object is
decorated with an ObjIntPa
- concatToList
Concatenates a number of iterables into a single list. This is harder than it
should be, a method St
- entriesToImmutableMap
Collector used at the end of a stream to build an immutable map from a stream
containing map entries