Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.32 KB

Utils

DOI Maven Central

Utils is a small Java module designed to provide a number of convenience methods for regular expressions, mathematical operations, operations on strings, etc. It aims at having as few dependencies as possible (especially since there are few modularized libraries are out there).

Some examples:

Maths.isLong("123L");
Maths.compensatedSum(1e100, 1e-100, 1, 2e-18);
Strings.ordinalNumeral(3);
Types.canBeWidened(float.class, 3L);

Installation

The artifact can be found at maven central:

<dependency>
    <groupId>eu.hoefel</groupId>
    <artifactId>utils</artifactId>
    <version>0.3.0</version>
</dependency>

Requirements

Utils is designed to work with Java 17+.