Primitive Collections is a library based on Java Collections and FastUtil. It fixes a lot of issues FastUtil has and finished a lot missing work. It is relatively new but already replaced FastUtil in all of my projects, so it has a lot of Test-Cases.

Programming language: Java
License: Apache License 2.0
Tags: Development     High Performance     Java    
Latest version: v0.3.1

Primitive-Collections alternatives and similar libraries

Based on the "High Performance" category.
Alternatively, view Primitive-Collections alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Primitive-Collections or a related project?

Add another 'High Performance' Library



This is a Simple Primitive Collections Library i started as a hobby Project.
It is based on Java's Collection Library and FastUtil.
But its focus is a different one.

Main Features:

  • ArraysList
  • HashSet/Map (Linked & HashControl)
  • TreeSet/Map (RB & AVL)
  • Priority Queue.
  • Streams
  • SplitIterators
  • Iterators

Notes about Versions

Any 0.x.0 version (Minor) can be reason for massive changes including API.
To ensure that problems can be dealt with even if it is breaking the current API.
Any breaking changes will be Documented (once 1.0 is released)

How to install

Using Gradle:

repositories {
    maven {
        url = "https://maven.speiger.com/repository/main"
dependencies {
    compile 'de.speiger:Primitive-Collections:0.3.1'


If you want to contribute.
This project is created using gradle and java and my Template Library only. Nothing extra.
If you setup gradle the library will be downloaded automatically.

Where is everything stored?

  • Variables and ClassNames are define here
  • Templates are stored here
  • Tests can be found here

Please if you want to contribute follow the Rule-Sheet. It keeps everything in line.

How to Build

The SourceCode can be generated via:
/gradlew.bat generateSource

to build the jar:
/gradlew.bat build
do not combine the commands because they can not be executed at the same time.

Current Down Sides (Random order)

  • Testing for Sub Maps/Sets/Lists are only in a very basic way tested
  • Documentation is only present at the lowest level for most cases and needs a typo fixing.