public class JPPFUuid extends Object implements Serializable
Integer.MAX_VALUE
Modifier and Type | Field and Description |
---|---|
static char[] |
ALPHABET_SUPERSET_CHAR
Set of characters used to compose a uuid, including more than alphanumeric characters.
|
static char[] |
HEXADECIMAL_CHAR
Set of characters used to compose a uuid, including only hexadecimal digits in lower case.
|
static char[] |
HEXADECIMAL_UPPER_CHAR
Set of characters used to compose a uuid, including only hexadecimal digits in lower case.
|
Constructor and Description |
---|
JPPFUuid()
Instantiate this JPPFUuid with a generated unique identifier.
|
JPPFUuid(char[] codes,
int length)
Instantiate this JPPFUuid with a generated unique identifier.
|
Modifier and Type | Method and Description |
---|---|
static String |
normalUUID()
Create a UUID in a standard format as described in
UUID.toString() . |
String |
toString() |
public static final char[] ALPHABET_SUPERSET_CHAR
public static final char[] HEXADECIMAL_CHAR
public static final char[] HEXADECIMAL_UPPER_CHAR
public JPPFUuid()
public JPPFUuid(char[] codes, int length)
codes
- the set of codes from which to choose randomly to build the uuid.length
- number of codes to use to build the uuid.public static String normalUUID()
UUID.toString()
.Copyright © 2005-2016 JPPF Team.