private static enum Serial.FieldType extends java.lang.Enum<Serial.FieldType>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INTEGER |
LONG |
OBJECT |
SHORT |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
obj |
| Modifier and Type | Method and Description |
|---|---|
static Serial.FieldType |
fromTypeCode(int typeCode) |
abstract java.lang.Object |
getValueString(java.io.DataInputStream dis) |
boolean |
isObject() |
static Serial.FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Serial.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Serial.FieldType BOOLEAN
public static final Serial.FieldType BYTE
public static final Serial.FieldType CHAR
public static final Serial.FieldType DOUBLE
public static final Serial.FieldType FLOAT
public static final Serial.FieldType INTEGER
public static final Serial.FieldType LONG
public static final Serial.FieldType SHORT
public static final Serial.FieldType OBJECT
public static Serial.FieldType[] values()
for (Serial.FieldType c : Serial.FieldType.values()) System.out.println(c);
public static Serial.FieldType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract java.lang.Object getValueString(java.io.DataInputStream dis)
throws java.io.IOException
java.io.IOExceptionpublic boolean isObject()
public static Serial.FieldType fromTypeCode(int typeCode)