Eclipse Collections 10.0 Released
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 very much 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
- My Top 10 List of Features
- Website now translated to Spanish
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
andreduceIfEmpty
for primitive iterables - Add <
type1
><type2
>To
<type1
>Function
for primitives - Add
ofInitialCapacity
to primitive maps - Implement
countByEach
onRichIterable
- Implement
UnifiedSetWithHashingStrategy.addOrReplace
- Implement
UnmodifiableMutableOrderedMap
- Implement
withAllKeyValues
on mutable primitive maps. - Add ability to create
PrimitivePrimitive
/PrimitiveObject
/ObjectPrimitiveMap
fromIterable
- Implement
ofInitialCapacity
andwithInitialCapacity
inHashingStrategySets
- Implement
getAny
onRichIterable
- Revamp and standardize resize/rehash for all primitive hash structures
- Implement factory methods to convert
Iterable
<BoxedPrimitive
> toPrimitiveStack
/Bag
/List
/Set
- Implement
ImmutableSortedBagMultimapFactory
inMultimaps
- Implement a
Map
factory method that takes aMap
parameter. - Wildcard type in
MultableMultimap.putAllPairs
& add methods
Check out the latest JavaDoc for the new features.
Other Improvements
- Improved Test Coverage
- Many build improvements
- Remove duplicate code
- Removed some deprecated classes
- Improved generics
- Some new benchmark tests
- And much more!
Thank you
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!
I am a Project Lead and Committer for the Eclipse Collections OSS project at the Eclipse Foundation. Eclipse Collections is open for contributions. If you like the library, you can let us know by starring it on GitHub.