public enum AccuracyTimeStamp extends Enum<AccuracyTimeStamp>
| Enum Constant and Description |
|---|
MILLISECONDS |
SECONDS |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static AccuracyTimeStamp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccuracyTimeStamp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccuracyTimeStamp SECONDS
public static final AccuracyTimeStamp MILLISECONDS
private final String _value
public static AccuracyTimeStamp[] values()
for (AccuracyTimeStamp c : AccuracyTimeStamp.values()) System.out.println(c);
public static AccuracyTimeStamp 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 String getValue()