Trove4j provides primitive and generic collections. It provides primitive versions of List, Set and Stack for each of the primitive types byte, char, int, long, float, double as well as Map implementations for each combination of the above primitive types. There's also Map implementations for each primitive type mapping to arbitrary generic objects and the other way around, arbitrary generic types mapping to any of the primitive types.


See the list of available artifacts here:

Example dependency:

compile 'com.slimjars.trove4j:trove4j-float-array-list:1.0.1'

Source code

There are two main repositories:

Changes to the original API