This is a utility library consisting of different modules.
Author: Hans Zuidervaart
Each module contains its own README.md. Click the links below to view them
- Core contains an extended and functional collections api. Inspired by Kotlin collections.
- Reflection
- Geometry
- Graph utils
- Fx utils contains some util functions for javaFX applications
- Swing utils contains some functional interfaces for easier functional programming in swing. It also contains some component builders.
- Test data generator Contains an api that provides test data for easy testing
- Benchmark project a project to benchmark the Sequence api found in the core module
Run mvn clean test to run all tests using mvn
If you get a module not found error while trying to run the tests via intellij,
then first do a mvn clean install from here. After that,
check that your intellij Maven-home-path is set to your local maven installation.

Run mvn clean install to install this project as a dependency in your local mvn repo
Add the following dependency to your project:
<dependency>
<groupId>org.hzt.utils</groupId>
<artifactId>hzt-utils</artifactId>
<version>${hzt.utils.version}</version>
</dependency>See the tests in the models of this project to see how the utilities can be used
The hzt utils repo contains a java 8, a java 11 and a java 17 version.
The master branch is updated with the java 11 version. The java 11 branch can be seen as the master-dev version
Below table gives an overview of the versioning so far:
| java 8 | java 11 | java 17 | java 21 |
|---|---|---|---|
| 7.1.8 | 7.11 | 7.17 | - |
| 7.5.1.8 | 7.5.11 | 7.5.17 | 7.5.21 |
- Design Patterns in the Light of Lambda Expressions. Venkat Subramaniam, Agile developer, inc
- Kotlin docs
- Live templates
- Junit5 User guide
- How to publish a Java library to Maven Central - Complete Guide