Module org.odenix.collections
@NullMarked
module org.odenix.collections
A persistent collection library for Java 21+.
Persistent collections are immutable collections whose update operations return new collections while sharing storage with the original.
This library is a Java port of Kotlin Immutable Collections
by JetBrains, closely following its structure and behavior.
The public API is in the org.odenix.collections package.
The only dependency is JSpecify (~3 KB). It is used for nullness annotations and can be excluded.
-
Packages
ExportsPackageDescriptionPublic API for immutable and persistent collection types: lists, sets, and maps.