The Hidden Treasures of Eclipse Collections Collection

Donald Raab
2 min read5 days ago

--

Consistency takes commitment

Photo by Kalen Emsley on Unsplash

Nikhil Nanivadekar has been writing an article for the JVM Advent Calendar for the past seven years, with the title “Hidden Treasures of Eclipse Collections.”

This takes real commitment. In total, there are thirty three treasures Nikhil has shared with the Java Community. Kudos to Nikhil for showing up every year and delivering this useful gift of Eclipse Collections treasures.

I’m sharing the list of features and a link to each individual article in the JVM Advent Calendar.

2018

Features covered:
1️⃣ distinct()
2️⃣ partition()
3️⃣ selectInstancesOf()
4️⃣ chunk()
5️⃣ as vs to

2019

Features covered:
6️⃣ countBy()
7️⃣ reject()
8️⃣ makeString()
9️⃣ zip()
🔟 corresponds()

2020

Features covered:
1️⃣1️⃣ notEmpty()
1️⃣2️⃣ minOptional()
1️⃣3️⃣ maxOptional()
1️⃣4️⃣ unionAll()
1️⃣5️⃣ flip()

2021

Features covered:
1️⃣6️⃣ selectWithIndex() / rejectWithIndex()
1️⃣7️⃣ getOnly()
1️⃣8️⃣ topOccurrences()
1️⃣9️⃣ bottomOcccurrences()
2️⃣0️⃣ Interval.fromTo()

2022

Features covered:
2️⃣1️⃣ toSortedList(Comparator)
2️⃣2️⃣ toSortedListBy(Function)
2️⃣3️⃣ Fused collect() + makeString()
2️⃣4️⃣ containsBy()
2️⃣5️⃣ swap()

2023

Features covered:
2️⃣6️⃣ HashingStrategy
2️⃣7️⃣ Collections with HashingStrategy
2️⃣8️⃣ detect()
2️⃣9️⃣ detectOptional()

2024

Features covered:
3️⃣0️⃣ primitiveStream()
3️⃣1️⃣ Immutable Primitive Collections
3️⃣2️⃣ Collectors2
3️⃣3️⃣ symmetricDifference()

I hope you enjoy all of the hidden treasures Nikhil has shared with the Java and Eclipse Collections community over the years. This blog will help you find the individual treasures if and when you are looking for them.

Have a safe, happy, and healthy holiday!

I am the creator of and committer for the Eclipse Collections OSS project, which is managed at the Eclipse Foundation. Eclipse Collections is open for contributions.

--

--

Donald Raab
Donald Raab

Written by Donald Raab

Java Champion. Creator of the Eclipse Collections OSS Java library (https://github.com/eclipse/eclipse-collections). Inspired by Smalltalk. Opinions are my own.

No responses yet