Package com.opencloud.util
Enum FastSerialize.SerialisableType
- java.lang.Object
-
- java.lang.Enum<FastSerialize.SerialisableType>
-
- com.opencloud.util.FastSerialize.SerialisableType
-
- All Implemented Interfaces:
Serializable
,Comparable<FastSerialize.SerialisableType>
- Enclosing class:
- FastSerialize
public static enum FastSerialize.SerialisableType extends Enum<FastSerialize.SerialisableType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
BYTE
BYTE_ARRAY
CHAR
DOUBLE
FAST_SERIALIZABLE
FLOAT
INT
LONG
NULL
OBJECT
PROFILE_ID
SHORT
STRING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FastSerialize.SerialisableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FastSerialize.SerialisableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final FastSerialize.SerialisableType NULL
-
INT
public static final FastSerialize.SerialisableType INT
-
LONG
public static final FastSerialize.SerialisableType LONG
-
SHORT
public static final FastSerialize.SerialisableType SHORT
-
BYTE
public static final FastSerialize.SerialisableType BYTE
-
BOOLEAN
public static final FastSerialize.SerialisableType BOOLEAN
-
CHAR
public static final FastSerialize.SerialisableType CHAR
-
DOUBLE
public static final FastSerialize.SerialisableType DOUBLE
-
FLOAT
public static final FastSerialize.SerialisableType FLOAT
-
STRING
public static final FastSerialize.SerialisableType STRING
-
FAST_SERIALIZABLE
public static final FastSerialize.SerialisableType FAST_SERIALIZABLE
-
PROFILE_ID
public static final FastSerialize.SerialisableType PROFILE_ID
-
BYTE_ARRAY
public static final FastSerialize.SerialisableType BYTE_ARRAY
-
OBJECT
public static final FastSerialize.SerialisableType OBJECT
-
-
Method Detail
-
values
public static FastSerialize.SerialisableType[] 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 (FastSerialize.SerialisableType c : FastSerialize.SerialisableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FastSerialize.SerialisableType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-