public class JPPFUuid extends Object implements Serializable
Integer.MAX_VALUE| Modifier and Type | Field and Description |
|---|---|
static String[] |
ALPHA_NUM
Set of characters used to compose a uuid, including only alphanumeric characters.
|
static String[] |
ALPHABET_SUPERSET
Set of characters used to compose a uuid, including more than alphanumeric characters.
|
static char[] |
ALPHABET_SUPERSET_CHAR
Set of characters used to compose a uuid, including more than alphanumeric characters.
|
static String[] |
HEXADECIMAL
Set of characters used to compose a uuid, including only hexadecimal digits.
|
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.
|
JPPFUuid(String[] codes,
int length)
Deprecated.
use
JPPFUuid.JPPFUuid(char[],int) instead. |
| Modifier and Type | Method and Description |
|---|---|
static String |
normalUUID()
Create a UUID in a standard format as described in
UUID.toString(). |
String |
toString()
Get a string representation of the generated unique identifier.
|
public static final String[] ALPHABET_SUPERSET
public static final char[] ALPHABET_SUPERSET_CHAR
public static final String[] ALPHA_NUM
public static final String[] HEXADECIMAL
public static final char[] HEXADECIMAL_CHAR
public static final char[] HEXADECIMAL_UPPER_CHAR
public JPPFUuid()
public JPPFUuid(String[] codes, int length)
JPPFUuid.JPPFUuid(char[],int) instead.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 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 String toString()
toString in class ObjectObject.toString()public static String normalUUID()
UUID.toString().Copyright © 2005-2012 JPPF Team.