Java java.util UUID fields, constructors, methods, implement or subclass

Example usage for Java java.util UUID fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util UUID.

The text is from its open source code.

Constructor

UUID(long mostSigBits, long leastSigBits)
Constructs a new UUID using the specified data.

Method

intclockSequence()
The clock sequence value associated with this UUID.
intcompareTo(UUID val)
Compares this UUID with the specified UUID.
booleanequals(Object obj)
Compares this object to the specified object.
UUIDfromString(String name)
Creates a UUID from the string standard representation as described in the #toString method.
longgetLeastSignificantBits()
Returns the least significant 64 bits of this UUID's 128 bit value.
longgetMostSignificantBits()
Returns the most significant 64 bits of this UUID's 128 bit value.
inthashCode()
Returns a hash code for this UUID .
UUIDnameUUIDFromBytes(byte[] name)
Static factory to retrieve a type 3 (name based) UUID based on the specified byte array.
longnode()
The node value associated with this UUID.
UUIDrandomUUID()
Static factory to retrieve a type 4 (pseudo randomly generated) UUID.
longtimestamp()
The timestamp value associated with this UUID.
StringtoString()
Returns a String object representing this UUID .
intvariant()
The variant number associated with this UUID .
intversion()
The version number associated with this UUID .