Download Latest Version stream-1.2.2-javadoc.jar (794.4 kB)
Email in envelope

Get an email when there's a new version of Lightweight-Stream-API

Home / v1.2.0
Name Modified Size InfoDownloads / 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 and requireNonNullElements methods to Objects (thanks @ened for suggestion)
  • Added orElseThrow() method to Optional classes. Please, prefer this method instead of get() as it better reflects the behavior of the method
  • Added toUnmodifiableList(), toUnmodifiableSet() and toUnmodifiableMap() 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) and toMap(keyMapper, valueMapper, mapFactory) now disallows duplicate keys. If the mapped keys contain duplicates, use new toMap(keyMapper, valueMapper, mergeFunction) and toMap(keyMapper, valueMapper, mergeFunction, mapFactory) methods
  • Removed useless FunctionalInterface annotation
  • Removed deprecated Stream.getIterator method
Source: README.md, updated 2018-04-12