Thank you to the contributors
Eclipse Collections 9.2 was released in May 2018. The 9.x releases were extremely feature rich and had many contributions from the community. The 10.0 release is even more so. There were 18 contributors in the 10.0 release. This is outstanding! Thank you so much to all of the contributors who donated their valuable time to making Eclipse Collections more feature rich and even higher quality. Your efforts are truly appreciated.
Too many features for one blog
There are so many features included in Eclipse Collections 10.0, that it is going to take me a bit longer to write good examples leveraging all of them. So I have decided to break this release blog into a few parts. This part will purely be a summary.
Update: Detailed Feature Blogs
Part 1 — Covers Features 1–10
Part 2 — Covers Features 11–20
Part 3 — Covers Features 21–26
The Feature Summary
- Specialized Interfaces for MultiReaderList/Bag/Set
- Implement Stream for Primitive Lists
- Implement toMap with target Map
- Implement MutableMapIterable.removeAllKeys
- Implement RichIterable.toBiMap
- Implement Multimap.collectKeyMultiValues
- Implement fromStream(Stream) on collection factories
- Implement LazyIterate.cartesianProduct
- Add updateValues to primitive maps
- Implement MutableMultimap.getIfAbsentPutAll
- Implement Bag.collectWithOccurrences
- Add reduce and reduceIfEmpty for primitive iterables
- Add <type1><type2>To<type1>Function for primitives
- Add ofInitialCapacity to primitive maps
- Implement countByEach on RichIterable
- Implement UnifiedSetWithHashingStrategy.addOrReplace
- Implement UnmodifiableMutableOrderedMap
- Implement withAllKeyValues on mutable primitive maps.
- Add ability to create PrimitivePrimitive/PrimitiveObject/ObjectPrimitiveMap from Iterable
- Implement ofInitialCapacity and withInitialCapacity in HashingStrategySets
- Implement getAny on RichIterable
- Revamp and standardize resize/rehash for all primitive hash structures
- Implement factory methods to convert Iterable<BoxedPrimitive> to PrimitiveStack/Bag/List/Set
- Implement ImmutableSortedBagMultimapFactory in Multimaps
- Implement a Map factory method that takes a Map parameter.
- Wildcard type in MultableMultimap.putAllPairs & add methods
Check out the latest JavaDoc for the new features.
- Improved Test Coverage
- Many build improvements
- Remove duplicate code
- Removed some deprecated classes
- Improved generics
- Some new benchmark tests
- And much more!
From all the contributors and committers… thank you for using Eclipse Collections. We hope you enjoy all of the new features and improvements in the 10.0 release.
I’ll be publishing detailed examples for the new features in the 10.0 release in a few blogs. Stay tuned!