An implementation of ULID described in the ULID specification.
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);
}
}
}JDK 7 or newer.
Clone this repository, move to the project directory and execute following command in your terminal:
./gradlew javadocThe javadoc will be generated in build/docs/javadoc directory.