Skip to content

Releases: pivovarit/more-gatherers

v0.0.2

26 Mar 06:45

Choose a tag to compare

Fixed a major functional bug in MoreGatherers.distinctByKeepLast that could result in unexpected iteration order

What's Changed

  • Fix MoreGatherers.distinctByKeepLast iteration order by @pivovarit in #101

Full Changelog: v0.0.1...v0.0.2

v0.0.1

01 Mar 07:59

Choose a tag to compare

giphy

The initial version of the library including:

Provided Gatherers:

  • MoreGatherers.last(int)
  • MoreGatherers.sampling(int)
  • MoreGatherers.zip(Iterator<T2>)
  • MoreGatherers.zip(Iterator<T2>, BiFunction<T1,T2>)
  • MoreGatherers.zip(Stream<T2>)
  • MoreGatherers.zip(Stream<T2>, BiFunction<T1,T2>)
  • MoreGatherers.zipWithIterable(Iterable<T2>)
  • MoreGatherers.zipWithIterable(Iterable<T2>, BiFunction<T1,T2>)
  • MoreGatherers.zipWithIndex()
  • MoreGatherers.zipWithIndex(BiFunction<Long,T>)
  • MoreGatherers.distinctBy(Function<T, R>)
  • MoreGatherers.distinctByKeepLast(Function<T, R>)
  • MoreGatherers.distinctUntilChanged()
  • MoreGatherers.distinctUntilChanged(Function<T, R>)
  • MoreGatherers.windowSliding(int, int)
  • MoreGatherers.filteringByIndex(BiPredicate<Long, T>)
  • MoreGatherers.groupingBy(Function<T, K>, Collector<T, ?, R>)