public class UUIDGenerator
extends java.lang.Object
Constructor and Description |
---|
UUIDGenerator() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
createType1() |
(package private) static long |
getTime()
Get the timestamp to be used for this uuid.
|
static byte[] |
next(int type)
Return a unique UUID value.
|
static java.lang.String |
nextHex(int type)
Return the next unique uuid value as a 32-character hex string.
|
static java.lang.String |
nextString(int type)
Return the next unique uuid value as a 16-character string.
|
public static final int TYPE1
public static final int TYPE4
public static byte[] next(int type)
public static byte[] createType1()
public static java.lang.String nextString(int type)
public static java.lang.String nextHex(int type)
static long getTime()
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.