Skip to content

Release v0.5.0

Compare
Choose a tag to compare
@tginsberg tginsberg released this 13 Oct 20:46
· 3 commits to main since this release
0416276

What's Changed

  • Implement reverse() - Cause a stream to be emitted in reverse (stores entire stream in memory)
  • Implement maxBy(fn) and minBy(fn) - Finds the single maximum or minimum value in a stream as defined by the function given (stores entire stream in memory)
  • Implement exactSize(n) - Ensures a stream is precisely n elements long or throws an IllegalStateException (stores entire stream in memory)

Using in Maven

<dependency>
    <groupId>com.ginsberg</groupId>
    <artifactId>gatherers4j</artifactId>
    <version>0.5.0</version>
</dependency>

Using in Gradle

implementation("com.ginsberg:gatherers4j:0.5.0")