Skip to content

Hydrawisk793/kaphein-java-ulid

Repository files navigation

kaphein-java-may-be-value

An implementation of ULID described in the ULID specification.

How to use

The following example shows how to generate monotonic ULIDs and print them:

public class Foo
{
    public void foo()
    {
        final UlidGenerator generator = new MonotonicUlidGenerator();
        final List<Ulid> ulids = generator.generate(10);
        for(final Ulid ulid : ulids)
        {
            System.out.println(ulid);
        }
    }
}

Supported JDK versions

JDK 7 or newer.

Documentation

Clone this repository, move to the project directory and execute following command in your terminal:

./gradlew javadoc

The javadoc will be generated in build/docs/javadoc directory.

License

MIT

About

An implementation of ULID.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages