Skip to content

A library of common classes and methods used in Atlanmod's projects

License

Notifications You must be signed in to change notification settings

atlanmod/Commons

Repository files navigation

Atlanmod Commons

Build Status Maven Central CodeCov Codacy Javadoc Licence Javadocs

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.

Latest release

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

Snapshots are automatically build from the master and are available through Maven using 1.1.1-SNAPSHOT. - Javadoc: commons

SonarCloud badges

Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Lines of Code Maintainability Rating Reliability Rating Security Rating Technical Debt