Utility Library for Java.
This library is a collection of all useful classes and methods that I have written over the last few years during my work on different projects and learning new things.
Disclaimer: Versions before 5.0.0 are not stable and may contain bugs.
The library is built on top of the following libraries:
- Java 25
- Apache Commons Lang3 (3.18.0)
- Log4j2 (2.25.2)
- Google Guava (33.5.0-jre)
- JetBrains Annotations (26.0.2)
- Java 21
- Apache Commons Lang3 (3.17.0)
- Log4j2 (2.24.2)
- Google Guava (33.3.1-jre)
- JetBrains Annotations (26.0.1)
- Java 17
- Apache Commons Lang3 (3.14.0)
- Log4j2 (2.22.1)
- Google Guava (33.0.0-jre)
- JetBrains Annotations (24.1.0)
If you like to use this library, you can use it with Maven or Gradle.
If you are using Gradle, add the following lines to your build.gradle file:
repositories {
maven {
url "https://maven.luis-st.net/libraries/"
}
}
dependencies {
implementation "net.luis:LUtils:${version}"
}If you are using Maven, add the following lines to your pom.xml file:
<project>
<repositories>
<repository>
<id>luis-st</id>
<url>https://maven.luis-st.net/libraries/</url>
</repository>
<!-- Other repositories here -->
</repositories>
<dependencies>
<dependency>
<groupId>net.luis</groupId>
<artifactId>LUtils</artifactId>
<version>${version}</version>
</dependency>
<!-- Other dependencies here -->
</dependencies>
</project>The library provides the following packages:
annotationtype
collectionregistry(removed in 7.4.0)key(removed in 7.4.0)
util
exceptionfunctionthrowable
iocodec(since 7.0.0)decoderencoderfunction(since 7.5.0)group(removed in 7.5.0)function(moved in 7.5.0 tocodec.function)grouper(removed in 7.5.0)
providerstruct
data(since 6.0.0)configjsonexception
propertiesexception
xmlexception
exceptionreadertoken(since 7.4.0)actions(since 8.0.0)coreenhancersfilterstransformers
contextdefinitiongrammar(since 8.0.0)rule(removed in 7.5.0)actions(moved in 8.0.0 totoken.actions)rules(moved in 8.0.0 totoken.rules)
rules(since 8.0.0)assertionsanchors
combinatorsmatchersquantifiersreference
stream(since 8.0.0)tokenstype(since 8.0.0)classifier
lang(since 5.5.0)concurrency
loggingfactory
mathalgorithm
resourcesutilgetterunsafeclasspath(not tested)reflection
The documentation is available at docs.luis-st.net.
The documentation is not update automatically, so it may be outdated.
If you find any issues, please report them.
For examples and usage you can take a look at the tests in the src/test/java directory.