Returns a negative integer, zero, or positive integer if this is less
than, equal to, or greater than other, respectively.
Returns true if this is equivalent to other.
Reports the variant field value of the UUID or, if appropriate, "NIL" or "MAX".
For convenience, this method reports "NIL" or "MAX" if this represents
the Nil or Max UUID, although the Nil and Max UUIDs are technically
subsumed under the variants 0b0 and 0b111, respectively.
StaticfromBuilds a byte array from UUIDv7 field values.
A 48-bit unix_ts_ms field value.
A 12-bit rand_a field value.
The higher 30 bits of 62-bit rand_b field value.
The lower 32 bits of 62-bit rand_b field value.
StaticofCreates an object from the internal representation, a 16-byte byte array containing the binary UUID representation in the big-endian byte order.
This method does NOT shallow-copy the argument, and thus the created object holds the reference to the underlying buffer.
StaticparseBuilds a byte array from a string representation.
This method accepts the following formats:
0189dcd553117d408db09496a2eef37b0189dcd5-5311-7d40-8db0-9496a2eef37b{0189dcd5-5311-7d40-8db0-9496a2eef37b}urn:uuid:0189dcd5-5311-7d40-8db0-9496a2eef37bLeading and trailing whitespaces represents an error.
Represents a UUID as a 16-byte byte array.