Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.
Eclipse Collections is a collections framework for Java with optimized data structures and a rich, functional and fluent API.
Eclipse Collections is a comprehensive collections library for Java. The library enables productivity and performance by delivering an expressive and efficient set of APIs and types. The iteration protocol was inspired by the Smalltalk collection framework, and the collections are compatible with the Java Collection Framework types.
The current GA release of Eclipse Collections (13.0.0) is compatible with Java 17+. Eclipse Collections 12.x is compatible with Java 11+, for projects that are not ready to upgrade to Java 17. Eclipse Collections is a part of the OpenJDK Quality Outreach program, and it is validated for different versions of the OpenJDK.
List, Set, Bag, Stack, Map, Multimap, [BiMap][BiMap], [Interval][Interval] object container typesMutable][MutableCollection], and [Immutable][ImmutableCollection] interfaces for each collection type with covariant return typesLazy][LazyIterable] and [Parallel][ParallelIterable] APIsList, Set, Bag, Stack, Map, Interval primitive container types| EC | JDK 5 - 7 | JDK 8 | JDK 9 - 10 | JDK 11 - 14 | JDK 15 - 16 | JDK 17 - 25 |
|---|---|---|---|---|---|---|
| 7.x.x | ✓ | ✓ | ||||
| 8.x.x | ✓ | |||||
| 9.x.x | ✓ | ✓ | ✓ | |||
| 10.x.x | ✓ | ✓ | ✓ | |||
| 10.4.0 | ✓ | ✓ | ✓ | ✓ | ✓ | |
| 11.x.x | ✓ | ✓ | ✓ | ✓ | ✓ | |
| 12.x.x | ✓ | ✓ | ✓ | |||
| 13.x.x | ✓ |
Please Note:
<dependency>
<groupId>org.eclipse.collections</groupId>
<artifactId>eclipse-collections-api</artifactId>
<version>13.0.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.collections</groupId>
<artifactId>eclipse-collections</artifactId>
<version>13.0.0</version>
</dependency>
implementation 'org.eclipse.collections:eclipse-collections-api:13.0.0'
implementation 'org.eclipse.collections:eclipse-collections:13.0.0'
We welcome contributions! We accept contributions via pull requests here in GitHub. Please see How To Contribute to get started.
No open issues yet, or sync has not completed.