Class UlidStruct


  • public final class UlidStruct
    extends Object
    This class represents the structure of a ULID. It is for internal use and test cases in this library.
    • Field Detail

      • time

        public final long time
      • random1

        public final long random1
      • random2

        public final long random2
      • HALF_RANDOM_COMPONENT

        protected static final long HALF_RANDOM_COMPONENT
        See Also:
        Constant Field Values
      • BASE32_CHARS

        public static final char[] BASE32_CHARS
      • BASE32_VALUES

        public static final long[] BASE32_VALUES
    • Constructor Detail

      • UlidStruct

        public UlidStruct​(long time,
                          long random1,
                          long random2)
      • UlidStruct

        public UlidStruct​(UUID uuid)
      • UlidStruct

        public UlidStruct​(String string)