This is a collection of useful classes and functionalities that I found myself in need of over my years as a developer.
- Extensive and customizable
LuaInterpreterwith strong Java integration - Fully featured JSON reader and writer (w Object-Oriented serialization)
- Various 2D/3D Matrix, Vector, Point, and Quaternion classes
- Configurable MQTT broker and client implementation following the
3.1.1Specification - A myriad of file helpers such as:
FileUtil- contains multiple methods to read/write and handle general files and foldersZipUtil- contains functions to pack/extract ZIP or JAR filesDataTag- useful class for de/serializing Java objects to be written-to or read-from a fileIniUtil- read and write INI filesCsvReader/CsvWriter- read and write CSV files withObjectserialization
java.util.Collectionhelper classes as well as custom subclasses for collection classes- Lists:
LockableList,SortedList,ImmutableList,ListUtil - Maps:
MapUtil - Collections:
ComparatorUtil,CollectionUtil
- Lists:
- Math and Number utility classes to easily manipulate all types of primitive data
- A command-line argument parser within package
com.hk.args - The
AlgebraicExpressionclass which can read linear and quadratic expressions- Such as
x^2 + 5x - 3and allow the user to plug in values
- Such as
- Super Light and Simple Neural Network implementation with full saving and loading capabilities
- Continuous Integration to test all types of functions and methods contained within this library
- Tests can be accessed over at https://travis-ci.com/github/theKayani/hklib
- Available with various builders or as a flat JAR file library through Maven Central
You can access the Javadoc over at https://javadoc.io/doc/com.thekayani/hklib
The process to use it is very simple and are similar to each other. Simply add the library/dependency to your build file.
Add hklib dependency
<dependency>
<groupId>com.thekayani</groupId>
<artifactId>hklib</artifactId>
<version>1.3.3</version>
</dependency>
Add hklib dependency
dependencies {
implementation 'com.thekayani:hklib:1.3.3'
}
You have access to the jar file with the compiled code and sources under GitHub releases.
You can download the jar file here.
This can be used directly on the command line when executing a Java program using
the -classpath flag with the java command. Or added into your own project in various
IDEs.
You can explore the other ways over at search.maven.org
To develop this library further, you can clone the repo and use Maven to import this project into the major Java IDEs such as Eclipse, Netbeans, and IntelliJ IDEA