public static enum ServerConfig.UuidVersion extends Enum<ServerConfig.UuidVersion>
Enum Constant and Description |
---|
VERSION1 |
VERSION1RND |
VERSION4 |
Modifier and Type | Method and Description |
---|---|
static ServerConfig.UuidVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerConfig.UuidVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerConfig.UuidVersion VERSION4
public static final ServerConfig.UuidVersion VERSION1
public static final ServerConfig.UuidVersion VERSION1RND
public static ServerConfig.UuidVersion[] values()
for (ServerConfig.UuidVersion c : ServerConfig.UuidVersion.values()) System.out.println(c);
public static ServerConfig.UuidVersion 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 © 2019. All rights reserved.