Giter Site home page Giter Site logo

olyutorskii / jarabradix Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 316 KB

JarabraDix is a integer value to Arabic decimal sequence converter Java library.

License: MIT License

Java 100.00%
gc-friendry conversion radix decimal bcd base-conversion java-library number digits java

jarabradix's Introduction

JarabraDix

Java CI with Maven CodeQL


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. 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 ?

  • 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+ 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

Project founder

--- EOF ---

jarabradix's People

Contributors

dependabot[bot] avatar olyutorskii avatar

Stargazers

 avatar

Watchers

 avatar  avatar

jarabradix's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.