Skip to content

This is a collection of useful classes and functionalities that I found myself in need of over my years as a developer.

License

Notifications You must be signed in to change notification settings

theKayani/hklib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Maven Central javadoc

hklib

This is a collection of useful classes and functionalities that I found myself in need of over my years as a developer.

Version: 1.3.3

Current Features

  • Extensive and customizable LuaInterpreter with 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.1 Specification
  • A myriad of file helpers such as:
    • FileUtil - contains multiple methods to read/write and handle general files and folders
    • ZipUtil - contains functions to pack/extract ZIP or JAR files
    • DataTag - useful class for de/serializing Java objects to be written-to or read-from a file
    • IniUtil - read and write INI files
    • CsvReader/CsvWriter - read and write CSV files with Object serialization
  • java.util.Collection helper classes as well as custom subclasses for collection classes
    • Lists: LockableList, SortedList, ImmutableList, ListUtil
    • Maps: MapUtil
    • Collections: ComparatorUtil, CollectionUtil
  • Math and Number utility classes to easily manipulate all types of primitive data
  • A command-line argument parser within package com.hk.args
  • The AlgebraicExpression class which can read linear and quadratic expressions
    • Such as x^2 + 5x - 3 and allow the user to plug in values
  • 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
  • Available with various builders or as a flat JAR file library through Maven Central

Usage

Reference

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.

Maven

Add hklib dependency

<dependency>
    <groupId>com.thekayani</groupId>
    <artifactId>hklib</artifactId>
    <version>1.3.3</version>
</dependency>

Gradle

Add hklib dependency

dependencies {
        implementation 'com.thekayani:hklib:1.3.3'
}

Flat jar File

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.

Others

You can explore the other ways over at search.maven.org

Development

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

About

This is a collection of useful classes and functionalities that I found myself in need of over my years as a developer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages