This is a simple collection of useful utilities for java. It will be expanded in the future. I have to move old code into this library and use it. If you find something useful to add, feel free to create a PR or find something useful, feel free to use this
- FileUtil
- MathUtil
- StringUtil
- ReflectionUtil
- Config-System with JSON implementation
- ClassScanner
- Table (2 Keys, 1 Value)
- Tuple
- Triple
This library needs gson v2.10.1
.
<repository>
<id>flammenfuchs-repo-public</id>
<name>Flammenfuchs_YT's Repository</name>
<url>https://repo.flammenfuchs.de/public</url>
</repository>
<dependency>
<groupId>de.flammenfuchs</groupId>
<artifactId>java-lib</artifactId>
<version>2.3.0</version>
</dependency>
maven {
url "https://repo.flammenfuchs.de/public"
}
implementation("de.flammenfuchs:java-lib:2.3.0")
Unspecified versions are not affecting your code and don't need migration
Guava
In v1 the library used guava v32.1.1-jre
.
If you used guava from this library, it could happen, that you have to add it manually
into your project
ClassScanner
The method scan()
returned
List<? extends Class<?>>
before. It returns now
List<Class<?>>
.This is only a slight change. It should not affect your code normally
ClassScanner
ClassScanner now supports multiple implementations and is moved into a separate package.
The public methods are not heavily affected.