Joda-Collect provides collections that are not present in the JDK or Google Guava.
The project is related to Joda-Primitives which provides primitive versions of the collection interfaces. This project is separate, as the use cases are likely to be different.
Joda-Collect is licensed under the business-friendly Apache 2.0 licence.
Joda-Collect contains the following collections:
- 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.
Various documentation is available:
The 2.x branch is compatible with Java SE 21 or later.
The 1.x branch 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 the Maven Central repository
Available as part of the Tidelift Subscription.
Joda and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
If you want the flexibility of open source and the confidence of commercial-grade software, this is for you.
Please use Stack Overflow for general usage questions. GitHub issues and pull requests should be used when you want to help advance the project.
Any donations to support the project are accepted via OpenCollective.
To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.
- Update version (index.md, changes.xml)
- Commit and push
- Switch to Java 21
mvn clean release:clean release:prepare release:perform
git fetch
- Website will be built and released by GitHub Actions