Enhancing Java Stream API
count(Predicate)
MoreCollectors.least/greatest
IntCollector.averaging/LongCollector.averaging
final result computation optimizationStreamEx.toMutableList
and StreamEx.toMutableSet
.toList
and toSet
.
Added temporary system property streamex.default.immutable
(set it to 'true' to test with immutable toList
and toSet
)valuesToMap
, valuesToSortedMap
, valuesToNavigableMap
methods to StreamEx
EntryStream.withoutKeys
and EntryStream.withoutValues
declared as @SafeVarargs
StreamEx
and EntryStream
declared as final now.module-info.class
, now it's full-fledged JPMS moduleEntryStream.withoutKeys
and EntryStream.withoutValues
.