public class UUIDGenerator
extends java.lang.Object
Constructor and Description |
---|
UUIDGenerator() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
createType1() |
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)