Class GuidUtils


  • public class GuidUtils
    extends java.lang.Object
    Utility class for generating GUIDs. N.B.: This is not meant for high-throughput utilization. If that becomes a use case, we can optimize it further.
    • Field Detail

      • GUID_GENERATOR_IMPLEMENTATION

        public static final java.lang.String GUID_GENERATOR_IMPLEMENTATION
        See Also:
        Constant Field Values
      • DEFAULT_GUID_GENERATOR_IMPLEMENTATION

        public static final java.lang.String DEFAULT_GUID_GENERATOR_IMPLEMENTATION
      • DETERMINISTIC_GUID_GENERATOR_IMPLEMENTATION

        public static final java.lang.String DETERMINISTIC_GUID_GENERATOR_IMPLEMENTATION
      • GUID_SIZE_IN_BYTES

        public static final int GUID_SIZE_IN_BYTES
    • Constructor Detail

      • GuidUtils

        public GuidUtils()
    • Method Detail

      • getGuidFromCharSequence

        public static GUID getGuidFromCharSequence​(java.lang.CharSequence charSequence)
      • getCharSequenceFromGuid

        public static java.lang.String getCharSequenceFromGuid​(GUID guid)
      • getGuidFromHex

        public static GUID getGuidFromHex​(java.lang.String hexGuid)
      • getHexFromGuid

        public static java.lang.String getHexFromGuid​(GUID guid)
      • getGUIDString

        public static java.lang.String getGUIDString()