This collection of Java utilities provides a range of tools designed to simplify and enhance Java development. Featuring custom data structures and utility methods.
This repository has nothing to do with java.util
- CappedList: ArrayList like data structure with capped size that allows resizing the List in constant time. Useful if you often want to discard the last elements of your list.
- Class System for units (prototype): Class system to handle physical quantities (e.g. temperatures)
Please take a look at my JavaDoc for detailed Information.
You can either download the compiled source code or you can compile it yourself.
For download, go to releases and download the latest util-v#.#.#.zip
. Unpack it and move the #.#.#
folder to ~/.m2/repository/org/nasengolem/util/
If you want to compile it yourself, follow these steps:
- Open Powershell or Bash (Either works)
- Select the target location for the source code
cd [path]
- Clone the repository:
git clone https://github.com/NasenGolem7442/javaUtils.git
- Select the new folder:
cd javaUtils
- Compile the code:
mvn clean install
- Check if the compiled files are at the correct location
Now you should see the latest version in your terminal.
cd ~/.m2/repository/org/nasengolem/util ls
Add the following dependency to your project's pom.xml
:
<dependency>
<groupId>org.nasengolem</groupId>
<artifactId>util</artifactId>
<version>[latest_version_id]</version>
</dependency>
Now you can use my Java Utilities in your project.
This is my first github repository. My main goal is to improve my programming and documentation skills, while developping some (potentially) usefull utility stuff. I use this repo to save and organize some solutions to problems that I've come across while working on other projects.
Please share your thoughts to my project in the discussions section. Additionally, feel free to use the issues section to address faulty code and request new features that extend certain functionality or the overall construct.