public static enum UUIDGenerator.Mode extends Enum<UUIDGenerator.Mode>
Enum Constant and Description |
---|
HUMAN_READABLE
In contrast to
UUID , this mode generates more "human-friendly" UUIDs consisting of host-name, time stamp and a counter. |
RANDOM
Generates purely random UUIDs
|
Modifier and Type | Method and Description |
---|---|
static UUIDGenerator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UUIDGenerator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UUIDGenerator.Mode HUMAN_READABLE
UUID
, this mode generates more "human-friendly" UUIDs consisting of host-name, time stamp and a counter.public static final UUIDGenerator.Mode RANDOM
UUID.randomUUID()
public static UUIDGenerator.Mode[] values()
for (UUIDGenerator.Mode c : UUIDGenerator.Mode.values()) System.out.println(c);
public static UUIDGenerator.Mode 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 nullCopyright © 2017 levigo holding gmbh. All rights reserved.