About
Joda-Collect provides collections that are not present in the JDK or Google Guava.
The JDK and Guava contain many collection classes, but occasionally there is something missing. This project provides a home for those collections.
Joda-Collect is licensed under the business-friendly Apache 2.0 licence.
Features
Included collection types:
- Grid - A grid data structure, providing access to its values by row and column. This is similar to Guava's
Table
, but usesint
for the row and column, allowing optimisations. Mutable and immutable implementations are provided in sparse and dense variations.
Documentation
Various documentation is available:
- The Javadoc
- The change notes for each release
- The GitHub source repository
Releases
The 2.x branch (v2.0.0) is compatible with Java SE 21 or later.
The 1.x branch (v1.0.1) is compatible with Java SE 8 or later.
v2.x releases are compatible with v1.x releases - except for the Java SE version and module-info.class
file. Guava is a required module, but it cannot be declared as ‘transitive’ because it is an automatic module.
Joda-Collect depends on Google Guava.
Available in Maven Central.
<dependency>
<groupId>org.joda</groupId>
<artifactId>joda-collect</artifactId>
<version>2.0.0</version>
</dependency>
Java module name: org.joda.collect
.