This library is a set of common classes and methods, including: - Lazy objects and references for on-demand loading, and local caching - An asynchronous logger - A wrapper for caching, using Caffeine - A wrapper for hashing, using Zero-allocation Hashing - A wrapper for serialization, using FST - Utility classes about primitives, collections, functional interfaces, concurrency, reflection, etc.
It was created to regroup and share classes, methods and dependencies between the different projects of the Atlanmod team, and was designed to ease updating without interfering with other projects.
Some methods are inspired by Guava.
The most recent release is Atlanmod Commons 1.1.0, released on May 21, 2021. - Javadoc: commons
To add a dependency on this library using Maven, use the following:
<dependencies>
<dependency>
<groupId>org.atlanmod.commons</groupId>
<artifactId>commons-core</artifactId>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>org.atlanmod.commons</groupId>
<artifactId>commons-testing</artifactId>
<version>1.1.0</version>
</dependency>
</dependencies>
Snapshots are automatically build from the master
and are available through Maven using 1.1.1-SNAPSHOT
.
- Javadoc: commons