Example usage for Java java.util UUID fields, constructors, methods, implement or subclass
The text is from its open source code.
UUID(long mostSigBits, long leastSigBits) Constructs a new UUID using the specified data. |
int | clockSequence() The clock sequence value associated with this UUID. |
int | compareTo(UUID val) Compares this UUID with the specified UUID. |
boolean | equals(Object obj) Compares this object to the specified object. |
UUID | fromString(String name) Creates a UUID from the string standard representation as described in the #toString method. |
long | getLeastSignificantBits() Returns the least significant 64 bits of this UUID's 128 bit value. |
long | getMostSignificantBits() Returns the most significant 64 bits of this UUID's 128 bit value. |
int | hashCode() Returns a hash code for this UUID . |
UUID | nameUUIDFromBytes(byte[] name) Static factory to retrieve a type 3 (name based) UUID based on the specified byte array. |
long | node() The node value associated with this UUID. |
UUID | randomUUID() Static factory to retrieve a type 4 (pseudo randomly generated) UUID. |
long | timestamp() The timestamp value associated with this UUID. |
String | toString() Returns a String object representing this UUID . |
int | variant() The variant number associated with this UUID . |
int | version() The version number associated with this UUID . |