A B C D E F G H I L N O P R T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ALPHABET_CROCKFORD - Static variable in class com.github.f4b6a3.ulid.util.UlidUtil
- ALPHABET_JAVA - Static variable in class com.github.f4b6a3.ulid.util.UlidUtil
B
- BASE_32 - Static variable in class com.github.f4b6a3.ulid.util.UlidUtil
- BASE32_CHARS - Static variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- BASE32_VALUES - Static variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
C
- com.github.f4b6a3.ulid - package com.github.f4b6a3.ulid
- com.github.f4b6a3.ulid.creator - package com.github.f4b6a3.ulid.creator
- com.github.f4b6a3.ulid.exception - package com.github.f4b6a3.ulid.exception
- com.github.f4b6a3.ulid.strategy - package com.github.f4b6a3.ulid.strategy
- com.github.f4b6a3.ulid.strategy.random - package com.github.f4b6a3.ulid.strategy.random
- com.github.f4b6a3.ulid.strategy.timestamp - package com.github.f4b6a3.ulid.strategy.timestamp
- com.github.f4b6a3.ulid.util - package com.github.f4b6a3.ulid.util
- com.github.f4b6a3.ulid.util.internal - package com.github.f4b6a3.ulid.util.internal
- create() - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Return a GUID based on the ULID specification.
- createString() - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Returns a ULID string.
D
- decode(char[], char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
-
Decode a base 32 char array to a long number.
- DefaultRandomStrategy - Class in com.github.f4b6a3.ulid.strategy.random
-
It uses an instance of
SecureRandom. - DefaultRandomStrategy() - Constructor for class com.github.f4b6a3.ulid.strategy.random.DefaultRandomStrategy
- DefaultTimestampStrategy - Class in com.github.f4b6a3.ulid.strategy.timestamp
- DefaultTimestampStrategy() - Constructor for class com.github.f4b6a3.ulid.strategy.timestamp.DefaultTimestampStrategy
E
- encode(long, char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
-
Encode a long number to base 32 char array.
- equals(Object) - Method in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- extractInstant(String) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- extractRandom1(UUID) - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
For unit tests
- extractRandom2(UUID) - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
For unit tests
- extractRandomnessComponent(String) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- extractTimestamp(String) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- extractTimestampComponent(String) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- extractUnixMilliseconds(String) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
F
- FixedTimestampStretegy - Class in com.github.f4b6a3.ulid.strategy.timestamp
- FixedTimestampStretegy(long) - Constructor for class com.github.f4b6a3.ulid.strategy.timestamp.FixedTimestampStretegy
- fromBase32Crockford(char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- fromString(String) - Static method in class com.github.f4b6a3.ulid.UlidCreator
-
Returns a ULID as GUID from a string.
- fromString(String) - Static method in class com.github.f4b6a3.ulid.util.UlidConverter
-
Converts a ULID string to a UUID.
G
- getTimestamp() - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Return the current timestamp and resets or increments the random part.
- getTimestamp() - Method in class com.github.f4b6a3.ulid.strategy.timestamp.DefaultTimestampStrategy
-
Returns the count of milliseconds since 1970-01-01 (Unix epoch).
- getTimestamp() - Method in class com.github.f4b6a3.ulid.strategy.timestamp.FixedTimestampStretegy
- getTimestamp() - Method in interface com.github.f4b6a3.ulid.strategy.TimestampStrategy
- getUlid() - Static method in class com.github.f4b6a3.ulid.UlidCreator
-
Returns a ULID as GUID.
- getUlidSpecCreator() - Static method in class com.github.f4b6a3.ulid.UlidCreator
-
Return a GUID creator for direct use.
- getUlidString() - Static method in class com.github.f4b6a3.ulid.UlidCreator
-
Returns a ULID string.
H
- HALF_RANDOM_COMPONENT - Static variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- HALF_RANDOM_COMPONENT - Static variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- hashCode() - Method in class com.github.f4b6a3.ulid.util.internal.UlidStruct
I
- increment() - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Increment the random part of the GUID.
- INCREMENT_MAX - Static variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- InvalidUlidException - Exception in com.github.f4b6a3.ulid.exception
- InvalidUlidException(String) - Constructor for exception com.github.f4b6a3.ulid.exception.InvalidUlidException
- isCrockfordBase32(char) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- isCrockfordBase32(char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- isValid(String) - Static method in class com.github.f4b6a3.ulid.util.UlidValidator
-
Checks if the string is a valid ULID.
- isValidString(char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidValidator
-
Checks if the string is a valid ULID.
- isValidTimestamp(char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidValidator
-
Checks if the timestamp is between 0 and 2^48-1
L
- lpad(char[], int, char) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
N
- nextBytes(byte[]) - Method in class com.github.f4b6a3.ulid.strategy.random.DefaultRandomStrategy
- nextBytes(byte[]) - Method in class com.github.f4b6a3.ulid.strategy.random.OtherRandomStrategy
- nextBytes(byte[]) - Method in interface com.github.f4b6a3.ulid.strategy.RandomStrategy
O
- OtherRandomStrategy - Class in com.github.f4b6a3.ulid.strategy.random
-
It uses an instance of
Randominjected by constructor. - OtherRandomStrategy(Random) - Constructor for class com.github.f4b6a3.ulid.strategy.random.OtherRandomStrategy
- OVERRUN_MESSAGE - Static variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
P
- previousTimestamp - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
R
- random1 - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- random1 - Variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- random2 - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- random2 - Variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- randomMax1 - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- randomMax2 - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- randomStrategy - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- RandomStrategy - Interface in com.github.f4b6a3.ulid.strategy
- removeHyphens(char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- reset() - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Reset the random part of the GUID.
T
- time - Variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- TIMESTAMP_COMPONENT - Static variable in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- TIMESTAMP_MAX - Static variable in class com.github.f4b6a3.ulid.util.UlidValidator
- timestampStrategy - Variable in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- TimestampStrategy - Interface in com.github.f4b6a3.ulid.strategy
- toBase32Crockford(long) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- toBytes(long) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
-
Get an array of bytes from a given number.
- toNumber(byte[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
-
Get a number from a given array of bytes.
- toNumber(byte[], int, int) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- toString() - Method in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- toString(UUID) - Static method in class com.github.f4b6a3.ulid.UlidCreator
-
Convert a UUID to ULID string The returning string is encoded to Crockford's base32.
- toString(UUID) - Static method in class com.github.f4b6a3.ulid.util.UlidConverter
-
Convert a UUID to ULID string The returning string is encoded to Crockford's base32.
- toUpperCase(char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- toUuid() - Method in class com.github.f4b6a3.ulid.util.internal.UlidStruct
- transliterate(char[], char[], char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
- transliterate(String, char[], char[]) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
U
- ULID_LENGTH - Static variable in class com.github.f4b6a3.ulid.util.UlidUtil
- ULID_LENGTH - Static variable in class com.github.f4b6a3.ulid.util.UlidValidator
- UlidConverter - Class in com.github.f4b6a3.ulid.util
- UlidCreator - Class in com.github.f4b6a3.ulid
-
A factory for Universally Unique Lexicographically Sortable Identifiers.
- UlidSpecCreator - Class in com.github.f4b6a3.ulid.creator
-
Factory that creates lexicographically sortable GUIDs, based on the ULID specification - Universally Unique Lexicographically Sortable Identifier.
- UlidSpecCreator() - Constructor for class com.github.f4b6a3.ulid.creator.UlidSpecCreator
- UlidStruct - Class in com.github.f4b6a3.ulid.util.internal
-
This class represents the structure of a ULID.
- UlidStruct(long, long, long) - Constructor for class com.github.f4b6a3.ulid.util.internal.UlidStruct
- UlidStruct(String) - Constructor for class com.github.f4b6a3.ulid.util.internal.UlidStruct
- UlidStruct(UUID) - Constructor for class com.github.f4b6a3.ulid.util.internal.UlidStruct
- UlidUtil - Class in com.github.f4b6a3.ulid.util
- UlidValidator - Class in com.github.f4b6a3.ulid.util
V
- validate(String) - Static method in class com.github.f4b6a3.ulid.util.UlidValidator
-
Checks if the ULID string is a valid.
W
- withRandomGenerator(Random) - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Replaces the default random strategy with another that uses the input
Randominstance. - withRandomStrategy(RandomStrategy) - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Replaces the default random strategy with another.
- withTimestampStrategy(TimestampStrategy) - Method in class com.github.f4b6a3.ulid.creator.UlidSpecCreator
-
Used for changing the timestamp strategy.
Z
- zerofill(char[], int) - Static method in class com.github.f4b6a3.ulid.util.UlidUtil
All Classes All Packages