public class UUIDGenerator extends 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 String |
nextHex(int type)
Return the next unique uuid value as a 32-character hex string.
|
static 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 String nextString(int type)
public static String nextHex(int type)
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.