static enum Decoder.Type extends Enum<Decoder.Type>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
BYTES |
CONTAINER |
DOUBLE |
END_MARKER |
EXTENDED |
FLOAT |
INT32 |
MAP |
POINTER |
UINT128 |
UINT16 |
UINT32 |
UINT64 |
UTF8_STRING |
Modifier and Type | Field and Description |
---|---|
(package private) static Decoder.Type[] |
values |
Modifier and Type | Method and Description |
---|---|
static Decoder.Type |
fromControlByte(int b) |
static Decoder.Type |
get(int i) |
static Decoder.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Decoder.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Decoder.Type EXTENDED
public static final Decoder.Type POINTER
public static final Decoder.Type UTF8_STRING
public static final Decoder.Type DOUBLE
public static final Decoder.Type BYTES
public static final Decoder.Type UINT16
public static final Decoder.Type UINT32
public static final Decoder.Type MAP
public static final Decoder.Type INT32
public static final Decoder.Type UINT64
public static final Decoder.Type UINT128
public static final Decoder.Type ARRAY
public static final Decoder.Type CONTAINER
public static final Decoder.Type END_MARKER
public static final Decoder.Type BOOLEAN
public static final Decoder.Type FLOAT
static final Decoder.Type[] values
public static Decoder.Type[] values()
for (Decoder.Type c : Decoder.Type.values()) System.out.println(c);
public static Decoder.Type 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 static Decoder.Type get(int i)
public static Decoder.Type fromControlByte(int b)