Skip to content

v1.1.4

Compare
Choose a tag to compare
@aNNiMON aNNiMON released this 26 Nov 20:32
· 260 commits to master since this release
  • Added LongStream and DoubleStream
  • Added OptionalLong and OptionalDouble
  • Added functional interfaces for operating with long and double primitive types
  • Added Exceptional.of(Throwable) factory method (thanks to @arturdm)
  • Added mapToLong, mapToDouble, flatMapToLong, flatMapToDouble to Stream
  • Added mapToLong, mapToDouble to IntStream
  • Added mapToLong, mapToDouble to Optional
  • Added filter, ifPresentOrElse, mapToLong and mapToDouble methods to OptionalInt
  • Added longs and doubles methods to RandomCompat
  • Fixed IllegalArgumentException in RandomCompat ints method, when bound is greater than max int
  • Fixed IntStream rangeClosed deadlock on Integer.MAX_VALUE bound
  • Stream range and rangeClosed now uses IntStream/LongStream internally
  • Removed unnecessary abstraction in primitive streams
  • Small other optimizations and javadocs fixes

streamTest

  • Added IntStreamMatcher, LongStreamMatcher and DoubleStreamMatcher
  • Added OptionalLongMatcher, OptionalDoubleMatcher
  • Updated mockito version to 2.2.17