public enum UuidVariant extends Enum<UuidVariant>
| Enum Constant and Description |
|---|
VARIANT_RESERVED_FUTURE |
VARIANT_RESERVED_MICROSOFT |
VARIANT_RESERVED_NCS |
VARIANT_RFC4122 |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static UuidVariant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UuidVariant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UuidVariant VARIANT_RESERVED_NCS
public static final UuidVariant VARIANT_RFC4122
public static final UuidVariant VARIANT_RESERVED_MICROSOFT
public static final UuidVariant VARIANT_RESERVED_FUTURE
public static UuidVariant[] values()
for (UuidVariant c : UuidVariant.values()) System.out.println(c);
public static UuidVariant 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 getValue()
Copyright © 2020. All rights reserved.