public enum UUIDType extends Enum<UUIDType>
Enum Constant and Description |
---|
DCE |
FREE_FORM |
NAME_BASED_MD5 |
NAME_BASED_SHA1 |
RANDOM_BASED |
TIME_BASED |
TIME_BASED_EPOCH |
TIME_BASED_REORDERED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
raw()
Returns "raw" type constants, embedded within UUID bytes.
|
static UUIDType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UUIDType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UUIDType TIME_BASED
public static final UUIDType DCE
public static final UUIDType NAME_BASED_MD5
public static final UUIDType RANDOM_BASED
public static final UUIDType NAME_BASED_SHA1
public static final UUIDType TIME_BASED_REORDERED
public static final UUIDType TIME_BASED_EPOCH
public static final UUIDType FREE_FORM
public static final UUIDType UNKNOWN
public static UUIDType[] values()
for (UUIDType c : UUIDType.values()) System.out.println(c);
public static UUIDType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int raw()
Copyright © 2023 FasterXML.com. All rights reserved.