org.eclipse.collections:eclipse-collections-api

Eclipse Collections is a collections framework for Java. It has JDK-compatible List, Set and Map implementations with a rich API and set of utility classes that work with any JDK compatible Collections, Arrays, Maps or Strings. The iteration protocol was inspired by the Smalltalk collection framework.


Keywords
collections, data-structures, eclipse-collections, functional, immutable-collections, java, java-collections, object-oriented, primitive-collections
Licenses
EPL-2.0/SSPL-1.0/AAL/SSPL-1.0

Documentation

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.

Eclipse Collections is compatible with Java 8+. Eclipse Collections is a part of the OpenJDK Quality Outreach program, and it is validated for different versions of the OpenJDK.

Why Eclipse Collections?

Learn Eclipse Collections

Eclipse Collections and JDK Compatibility Matrix

EC JDK 5 - 7 JDK 8 JDK 9 - 10 JDK 11 - 14 JDK 15 - 21
7.x.x
8.x.x
9.x.x
10.x.x
10.4.0
11.x.x
12.x.x

Note: Eclipse Collections 12.x will be compatible with Java 11+. EC 12.0 has not been released as GA yet, but there are a few milestone releases available to test with.

Acquiring Eclipse Collections

Maven

<dependency>
  <groupId>org.eclipse.collections</groupId>
  <artifactId>eclipse-collections-api</artifactId>
  <version>11.1.0</version>
</dependency>

<dependency>
  <groupId>org.eclipse.collections</groupId>
  <artifactId>eclipse-collections</artifactId>
  <version>11.1.0</version>
</dependency>

Gradle

implementation 'org.eclipse.collections:eclipse-collections-api:11.1.0'
implementation 'org.eclipse.collections:eclipse-collections:11.1.0'

OSGi Bundle

Eclipse software repository location: https://download.eclipse.org/collections/11.1.0/repository

How to Contribute

We welcome contributions! We accept contributions via pull requests here in GitHub. Please see How To Contribute to get started.

Additional information