You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented LazyIterable.takeWhile(Predicate<? super T> predicate) and LazyIterable.dropWhile(Predicate<? super T> predicate).
Pull up into() from LazyIterable to RichIterable.
Made StackIterable implement OrderedIterable.
Optimizations
Optimize MutableList.chunk() for RandomAccess lists to use the backing array instead of an iterator.
Bug fixes
Fixed Interval.take(int count) when count is 0. Old behavior was to return an Interval of size 1. This is a behavior breaking change.
Changed AbstractSynchronizedRichIterable.groupByUniqueKey() to return MapIterable instead of MutableMap.
Changed AbstractMutableMapIterable.groupByUniqueKey() to return MutableMapIterable instead of MutableMap.
Changed MutableMapIterable.aggregateBy() to return MutableMap instead of MutableMapIterable.
Fixed return types on MapIterable.collect(Function2) overrides.
Fixed return type of UnifiedSetWithHashingStrategy.groupByEach() method to preserve hashing strategy.
Fixed generics on Multimap.forEachKeyValue().
Fixed generics on Multimap.forEachKeyMultiValues().
Fixed method signature of sumByInt(), sumByLong(), sumByFloat() and sumByDouble(). Added missing covariant overrides, now calling these iteration patterns on mutable side will return a MutableObjectPrimitiveMap, on immutable side it will return ImmutableObjectPrimitiveMap.
Made primitive-object maps more bag-like. Change the filtering and transformation methods to return bags since they contain duplicates and no meaningful order.