Joda Primitives provides collections and utilities to bridge the gap between
objects and primitive types in Java.
Current interfaces and implementations include:
Each collection implementation stores the data as a primitive object. The
interfaces provide dedicated methods to access those primitives. If you need a
list of numbers or booleans, then these classes are ideal. A primitive
collection uses less memory, performs more quickly and saves on garbage
collection. All this is due to the fact that no Object wrapper class has to be
This project is an offshoot of Commons
Primitives. The two projects have very different designs. Commons Primitives
defines interfaces independent of the JDK collection interfaces. Joda Primitives
defines interfaces that extend the JDK collection interfaces. This project
offers deeper direct integration, however this results in certain method names
being different from JDK collections.
Joda Primitives is licenced under the Joda
licence, which is an Apache/BSD cloned licence.