Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

A set of Java utility classes that provide a library of static methods for doing various conversions between Java primitive types and byte arrays, and formatting byte arrays in different numeric bases.

License

Notifications You must be signed in to change notification settings

craterdog/java-general-utilities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java General Utilities

THIS REPOSITORY HAS BEEN ARCHIVED AND IS NO LONGER SUPPORTED

General Java Utilities

This project contains a set of useful Java general utility classes. The classes focus on the following areas:

  • number base conversions (bases 2, 16, 32, and 64)
  • primitive type to byte array conversions
  • cryptographically secure random number generation for specific purposes
  • a natural object comparator that works on anything
  • a universal random hash function

Highlighted Components

The following highlights the utility classes provided by this project:

  • Base02Utils - converts between byte arrays and base 2 strings
  • Base16Utils - converts between byte arrays and base 16 strings
  • Base32Utils - converts between byte arrays and base 32 strings
  • Base64Utils - converts between byte arrays and base 64 strings
  • ByteUtils - converts between byte arrays and primitive types
  • RandomUtils - generates random array indexes, probabilities, and byte arrays
  • NaturalComparator - compares any two objects of the same type
  • UniversalHashFunction - generates a provably random distribution of hash values

Quick Links

For more detail on this project click on the following links:

Getting Started

To get started using these utilities, include the following dependency in your maven pom.xml file:

    <dependency>
        <groupId>com.craterdog</groupId>
        <artifactId>java-general-utilities</artifactId>
        <version>x.y</version>
    </dependency>

The source code, javadocs and jar file artifacts for this project are available from the Maven Central Repository. If your project doesn't currently use maven and you would like to, click here to get started down that path quickly.

Recognition

Crater Dog Technologies™ would like to recognize and thank the following companies for their contributions to the development and testing of various components within this project:

About

A set of Java utility classes that provide a library of static methods for doing various conversions between Java primitive types and byte arrays, and formatting byte arrays in different numeric bases.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages