public enum SimpleValueType extends Enum<SimpleValueType>
Enum Constant and Description |
---|
FALSE |
NULL |
RESERVED |
TRUE |
UNALLOCATED |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SimpleValueType |
ofByte(int b) |
static SimpleValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleValueType FALSE
public static final SimpleValueType TRUE
public static final SimpleValueType NULL
public static final SimpleValueType UNDEFINED
public static final SimpleValueType RESERVED
public static final SimpleValueType UNALLOCATED
public static SimpleValueType[] values()
for (SimpleValueType c : SimpleValueType.values()) System.out.println(c);
public static SimpleValueType 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 SimpleValueType ofByte(int b)
Copyright © 2014. All Rights Reserved.