https://github.com/olyutorskii/jarabradix
JarabraDix is a integer value to Arabic decimal sequence converter Java library.
https://github.com/olyutorskii/jarabradix
base-conversion bcd conversion decimal digits gc-friendry java java-library number radix
Last synced: about 2 months ago
JSON representation
JarabraDix is a integer value to Arabic decimal sequence converter Java library.
- Host: GitHub
- URL: https://github.com/olyutorskii/jarabradix
- Owner: olyutorskii
- License: mit
- Created: 2017-04-20T09:27:28.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2026-03-02T12:09:56.000Z (5 months ago)
- Last Synced: 2026-03-02T16:09:14.057Z (5 months ago)
- Topics: base-conversion, bcd, conversion, decimal, digits, gc-friendry, java, java-library, number, radix
- Language: Java
- Homepage:
- Size: 265 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# JarabraDix #


-----------------------------------------------------------------------
## What is JarabraDix ? ##
* **JarabraDix** is a Java library
that supports **binary integer value to decimal sequence conversion**.
* Yes, it will substitute implementations such as
`Integer.toString(int)`, `System.out(=PrintStream).println(int)` and so on.
* **JarabraDix** was forked from [**DoubDabC**][DDC].
We decided to separate GC-friendry-API idea
from DoubDabC implementation.
## JarabraDix implementation ##
* There is no String constructor during conversion.
That means, **GC-friendry !**
## Supported Input ##
* JarabraDix supports int & long primitive value input.
## Supported Output ##
* You can get decimal number sequence result by `char[]` array.
* You can assign
`Appendable`, `Writer`, `StringBuffer`, `StringBuilder`, or `CharBuffer`
as Arabic numeral characters\(0-9\) sequence output.
* `CharSequence` wrapper class is provided.
* Extended `Writer` class is provided
which supports `print(int)` & `print(long)` methods
like `PrintWriter`.
## What is the difference with [**DoubDabC**][DDC] ? ##
* If you use huge binary integer value that does not fit in long,
use **DoubDabC**.
* If you have an extremely slow JVM(and CPU) for integer division,
let's try **DoubDabC**.
## How to build ##
* JarabraDix needs to use [Maven 3.3.9+](https://maven.apache.org/)
and JDK 1.8+ to be built.
* JarabraDix runtime does not depend on any other library at all.
Just compile Java sources under `src/main/java/` if you don't use Maven.
## License ##
* Code is under [The MIT License][MIT].
## Project founder ##
* By [olyutorskii](https://github.com/olyutorskii) at 2017
[DDC]: https://github.com/olyutorskii/DoubDabC
[MIT]: https://opensource.org/licenses/MIT
--- EOF ---