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