Simple library to create primitive collections. Using template files to generate them. Project for self teaching.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Speiger 85d230c561 Fixed a auto generation bug where iterators wouldn't accept settings 3 months ago
.github/workflows Adding coverage to master to make things simpler! 3 months ago
gradle/wrapper Upgraded Gradle to be java19/20 friendly 3 months ago
src Fixed a auto generation bug where iterators wouldn't accept settings 3 months ago
.classpath Changes. 2 years ago
.gitattributes Removed the double foldering and started some seriouse work. 3 years ago
.gitignore Refactor of the Project on Github. 1 year ago
.project Map Tests & BugFixes. 2 years ago
Changelog.md Fixed tests and added missing changelog 3 months ago
EXTRAS.md First draft of the 0.8.0 patch. 9 months ago
LICENSE Update LICENSE 2 years ago
ModulSettings.json Collection Module Works now. (Least Configurable for obvious Reasons) 10 months ago
README.md Version Bump 3 months ago
RuleSheet.md New Content patch getting big progress on base and progress on lists. 3 years ago
build.gradle Version Bump 3 months ago
features.md New Stuff 1 year ago
gradle.properties Fixed all the reported issues by the Unit testing. 3 months ago
gradlew Removed the double foldering and started some seriouse work. 3 years ago
gradlew.bat Removed the double foldering and started some seriouse work. 3 years ago
jitpack.yml Updated yml Scripts 1 year ago
settings.gradle Removed the double foldering and started some seriouse work. 3 years ago

README.md

build Latest Release License GitHub commit activity
Unit Tests Coverage codecov Tests Done

Primitive-Collections

This is a Simple Primitive Collections Library aimed to outperform Java's Collection Library and FastUtil.
Both in Performance and Quality of Life Features.

Benchmarks

Benchmarks can be found here: [Charts], [Tables]

Special Features

Here you find a set of features added to Primitive Collections.
These are designed to improve performance or to provide Quality of Life.

Here you also find features that can be used when you compile the library for yourself.
These features are not used by default to have a wider range of compat, or require self compilation.
Such as pruning classes that are not needed in your code.

Main Features:

  • ArrayLists / LinkedLists / CopyOnWriteLists
  • HashSets/Maps (Linked & HashControl)
  • TreeSets/Maps (RB & AVL)
  • EnumMaps
  • Immutable Maps/Lists/Sets
  • ConcurrentHashMaps
  • Priority Queues
  • Streams & Functional Queries
  • Split/Iterators
  • Pairs
  • Unary/Functions
  • Suppliers
  • Bi/Consumers
  • AsyncBuilders

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.

How to install

Using Jitpack Gradle

repositories {
    maven {
        url = "https://jitpack.io"
    }
}
dependencies {
	implementation 'com.github.Speiger:Primitive-Collections:0.9.0'
}

SourceCode

The generated Sourcecode can be automatically build,
but if you want to just browse around in it.
Check out the Debug Branch, which has the entire up to date code.

Contributing

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 generate SourceCode and build the jar:

/gradlew.bat build