public static enum TypeLiteral.NativeType extends Enum<TypeLiteral.NativeType>
| Enum Constant and Description |
|---|
ANY |
BIG_DECIMAL |
BIG_INTEGER |
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
OBJECT |
SHORT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static TypeLiteral.NativeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeLiteral.NativeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeLiteral.NativeType FLOAT
public static final TypeLiteral.NativeType DOUBLE
public static final TypeLiteral.NativeType BOOLEAN
public static final TypeLiteral.NativeType BYTE
public static final TypeLiteral.NativeType SHORT
public static final TypeLiteral.NativeType INT
public static final TypeLiteral.NativeType CHAR
public static final TypeLiteral.NativeType LONG
public static final TypeLiteral.NativeType BIG_DECIMAL
public static final TypeLiteral.NativeType BIG_INTEGER
public static final TypeLiteral.NativeType STRING
public static final TypeLiteral.NativeType OBJECT
public static final TypeLiteral.NativeType ANY
public static TypeLiteral.NativeType[] values()
for (TypeLiteral.NativeType c : TypeLiteral.NativeType.values()) System.out.println(c);
public static TypeLiteral.NativeType 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 nullCopyright © 2019. All rights reserved.