https://github.com/ololx/moonshine
This is a java utils and extensions library
https://github.com/ololx/moonshine
bytes decoding encoding java stopwatch tuple utills
Last synced: 4 months ago
JSON representation
This is a java utils and extensions library
- Host: GitHub
- URL: https://github.com/ololx/moonshine
- Owner: ololx
- License: apache-2.0
- Created: 2022-03-27T16:44:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-04T18:36:11.000Z (10 months ago)
- Last Synced: 2025-06-12T12:48:30.723Z (8 months ago)
- Topics: bytes, decoding, encoding, java, stopwatch, tuple, utills
- Language: Java
- Homepage:
- Size: 918 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# moonshine
This is a java utils and extensions library
[](https://search.maven.org/search?q=g:%22io.github.ololx.moonshine%22) [](https://search.maven.org/search?q=g:%22io.github.ololx.moonshine%22)
[](https://search.maven.org/search?q=g:%22io.github.ololx.moonshine%22) [](https://javadoc.io/doc/io.github.ololx.moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://deepsource.io/gh/ololx/moonshine/?ref=repository-badge)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
[](https://codecov.io/gh/ololx/moonshine)
[](https://sonarcloud.io/summary/new_code?id=ololx_moonshine)
# 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
```xml
io.github.ololx.moonshine
{module-name}
{latest-version}
```
_Example of dependency for installing `moonshine-tuple` module with version `0.14.0` is presented bellow_
```xml
io.github.ololx.moonshine
moonshine-tuple
0.14.0
```
### Gradle (Kotlin DSL)
```kotlin
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_
```kotlin
implementation("io.github.ololx.moonshine:moonshine-tuple:0.14.0")
```
### Gradle (Groovy DSL)
```groovy
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_
```groovy
implementation 'io.github.ololx.moonshine:moonshine-tuple:0.14.0'
```
- [Javadoc](https://javadoc.io/doc/io.github.ololx.moonshine)