moonshine
This is a java utils and extensions library
Moonshine
The Moonshine is a java library that that contains usefully utilities and tools for coding.
Features
- The tupples collection that allow to create new tuples and iterates it.
- The stopwatch utilities that allow to get elapsed time measurements.
- The bit converting utilities that allow to code/encode Java primitives to/from byte array.
- The allocated memory meter of the selected code part in the application.
- The CPU usage meter of the selected code part in the application.
Installing
Maven
<dependency>
<groupId>io.github.ololx.moonshine</groupId>
<artifactId>{module-name}</artifactId>
<version>{latest-version}</version>
</dependency>
Example of dependency for installing moonshine-tuple
module with version 0.14.0
is presented bellow
<dependency>
<groupId>io.github.ololx.moonshine</groupId>
<artifactId>moonshine-tuple</artifactId>
<version>0.14.0</version>
</dependency>
Gradle (Kotlin DSL)
implementation("io.github.ololx.moonshine:{module-name}:{latest-version}")
Example of dependency for installing moonshine-tuple
module with version 0.14.0
is presented bellow
implementation("io.github.ololx.moonshine:moonshine-tuple:0.14.0")
Gradle (Groovy DSL)
implementation 'io.github.ololx.moonshine:{module-name}:{latest-version}'
Example of dependency for installing moonshine-tuple
module with version 0.14.0
is presented bellow
implementation 'io.github.ololx.moonshine:moonshine-tuple:0.14.0'