public static enum Externalizer.ValueType extends Enum<Externalizer.ValueType>
Enum Constant and Description |
---|
BIG_DECIMAL |
BIG_INTEGER |
BIG_RATIONAL |
BOOLEAN |
BYTE |
BYTE_ARRAY |
CHARACTER |
COMPLEX |
DICT |
DOUBLE |
FLOAT |
INTEGER |
LONG |
NULL |
OBJECT |
RATIONAL |
SHORT |
STATE |
STRING |
TUPLE |
Modifier and Type | Method and Description |
---|---|
static String |
arrayToString(Externalizer.ValueType[] valueTypes)
Returns a string of value type codes for a value type array.
|
static Externalizer.ValueType |
get(byte code)
Gets a value type from a code.
|
static Externalizer.ValueType |
get(Object object)
Gets a value type for an object.
|
byte |
getCode()
Gets the code.
|
static String |
setToString(EnumSet<Externalizer.ValueType> valueTypes)
Returns a string of value type codes for a value type set.
|
static EnumSet<Externalizer.ValueType> |
stringToSet(String valueTypeCodes)
Returns a value type set for a string of value type codes.
|
static Externalizer.ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Externalizer.ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Externalizer.ValueType BIG_DECIMAL
public static final Externalizer.ValueType BIG_INTEGER
public static final Externalizer.ValueType BIG_RATIONAL
public static final Externalizer.ValueType BOOLEAN
public static final Externalizer.ValueType BYTE
public static final Externalizer.ValueType BYTE_ARRAY
public static final Externalizer.ValueType CHARACTER
public static final Externalizer.ValueType COMPLEX
public static final Externalizer.ValueType DICT
public static final Externalizer.ValueType DOUBLE
public static final Externalizer.ValueType FLOAT
public static final Externalizer.ValueType INTEGER
public static final Externalizer.ValueType LONG
public static final Externalizer.ValueType NULL
public static final Externalizer.ValueType OBJECT
public static final Externalizer.ValueType RATIONAL
public static final Externalizer.ValueType SHORT
public static final Externalizer.ValueType STATE
public static final Externalizer.ValueType STRING
public static final Externalizer.ValueType TUPLE
public static Externalizer.ValueType[] values()
for (Externalizer.ValueType c : Externalizer.ValueType.values()) System.out.println(c);
public static Externalizer.ValueType 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 null@Nonnull @CheckReturnValue public static String arrayToString(@Nonnull Externalizer.ValueType[] valueTypes)
valueTypes
- The value type array.@Nonnull @CheckReturnValue public static Externalizer.ValueType get(byte code)
code
- The code.@Nonnull @CheckReturnValue public static Externalizer.ValueType get(@Nonnull Object object)
object
- The object.@Nonnull @CheckReturnValue public static String setToString(@Nonnull EnumSet<Externalizer.ValueType> valueTypes)
valueTypes
- The value type set.@Nonnull @CheckReturnValue public static EnumSet<Externalizer.ValueType> stringToSet(@Nonnull String valueTypeCodes)
valueTypeCodes
- The string of value type codes.@CheckReturnValue public byte getCode()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.