Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
stream-test-1.2.0-javadoc.jar | 2018-04-12 | 215.7 kB | |
stream-test-1.2.0.jar | 2018-04-12 | 53.2 kB | |
stream-1.2.0-javadoc.jar | 2018-04-12 | 1.2 MB | |
stream-1.2.0.jar | 2018-04-12 | 300.7 kB | |
README.md | 2018-04-12 | 1.2 kB | |
v1.2.0.tar.gz | 2018-04-12 | 198.8 kB | |
v1.2.0.zip | 2018-04-12 | 473.7 kB | |
Totals: 7 Items | 2.4 MB | 0 |
- Added
Optional.mapToBoolean
(thanks to @bejibx) - Added
Stream.equalsOnly
operator (thanks to @operando) - Added
deepEquals
,requireNonNullElse
,requireNonNullElseGet
,isNull
,nonNull
andrequireNonNullElements
methods toObjects
(thanks @ened for suggestion) - Added
orElseThrow()
method toOptional
classes. Please, prefer this method instead ofget()
as it better reflects the behavior of the method - Added
toUnmodifiableList()
,toUnmodifiableSet()
andtoUnmodifiableMap()
collectors from Java 10 (thanks to @javadev and @PromanSEW). See PromanSEW's comment - The
Collectors.toMap
implementation was changed to match Java 8 specs.toMap(keyMapper)
,toMap(keyMapper, valueMapper)
andtoMap(keyMapper, valueMapper, mapFactory)
now disallows duplicate keys. If the mapped keys contain duplicates, use newtoMap(keyMapper, valueMapper, mergeFunction)
andtoMap(keyMapper, valueMapper, mergeFunction, mapFactory)
methods - Removed useless
FunctionalInterface
annotation - Removed deprecated
Stream.getIterator
method