public enum Type extends Enum<Type>
Type.
| Enum Constant and Description |
|---|
ARRAY_FIXED_VALUE |
ARRAY_VARIABLE_VALUE |
BYTE |
DECIMAL |
DOUBLE |
FIVE_BITS_DECIMAL |
FLOAT |
INT |
INTEGER |
LONG |
MSG |
NULL |
SHORT |
SKIPPED_KEYS |
STRING_UTF8 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getId()
getId.
|
byte |
getShiftId()
get5ShiftId.
|
static Type |
valueOf(byte aId)
valueOf.
|
static <T> Type |
valueOf(Class<T> clazz)
valueOf.
|
static Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type NULL
public static final Type SKIPPED_KEYS
public static final Type INTEGER
public static final Type BYTE
public static final Type SHORT
public static final Type INT
public static final Type LONG
public static final Type DECIMAL
public static final Type FLOAT
public static final Type DOUBLE
public static final Type FIVE_BITS_DECIMAL
public static final Type STRING_UTF8
public static final Type MSG
public static final Type ARRAY_FIXED_VALUE
public static final Type ARRAY_VARIABLE_VALUE
public static Type[] values()
for (Type c : Type.values()) System.out.println(c);
public static 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 final byte getId()
public final byte getShiftId()
public static Type valueOf(byte aId)
aId - Copyright © 2012-2014 hermod. All Rights Reserved.