|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.id.UUID.UUIDFactory
A Factory for generating random UUIDs.
UUID
Field Summary | |
(package private) static long |
GREGORIAN_MILLIS_OFFSET
The point at which the Gregorian calendar rules are used, measured in milliseconds from the standard epoch. |
Method Summary | |
static UUID |
newHashUUID(long mostSig,
long leastSig)
Generate a new UUID value. |
static UUID |
newSeqUUID()
Generate a new UUID value. |
static UUID |
newUUID()
Generate a new random UUID value. |
static UUID |
newUUID(byte[] bytes)
Generate a new UUID value. |
static UUID |
newUUID(long mostSig,
long leastSig)
Generate a new UUID value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final long GREGORIAN_MILLIS_OFFSET
Method Detail |
public static UUID newUUID()
public static UUID newSeqUUID()
public static UUID newUUID(byte[] bytes)
bytes
- the 128 bits of the UUID
public static UUID newHashUUID(long mostSig, long leastSig)
mostSig
- High-long of UUID value.leastSig
- Low-long of UUID value.
public static UUID newUUID(long mostSig, long leastSig)
mostSig
- High-long of UUID value.leastSig
- Low-long of UUID value.
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |