Package com.batch.android.msgpack.value
Enum Variable.Type
- java.lang.Object
-
- java.lang.Enum<Variable.Type>
-
- com.batch.android.msgpack.value.Variable.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Variable.Type>
- Enclosing class:
- Variable
public static enum Variable.Type extends java.lang.Enum<Variable.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BIG_INTEGERBOOLEANBYTE_ARRAYDOUBLEEXTENSIONLISTLONGMAPNULLRAW_STRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueTypegetValueType()static Variable.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Variable.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final Variable.Type NULL
-
BOOLEAN
public static final Variable.Type BOOLEAN
-
LONG
public static final Variable.Type LONG
-
BIG_INTEGER
public static final Variable.Type BIG_INTEGER
-
DOUBLE
public static final Variable.Type DOUBLE
-
BYTE_ARRAY
public static final Variable.Type BYTE_ARRAY
-
RAW_STRING
public static final Variable.Type RAW_STRING
-
LIST
public static final Variable.Type LIST
-
MAP
public static final Variable.Type MAP
-
EXTENSION
public static final Variable.Type EXTENSION
-
-
Method Detail
-
values
public static Variable.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Variable.Type c : Variable.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Variable.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValueType
public ValueType getValueType()
-
-