public enum SimpleTypeMappings extends Enum<SimpleTypeMappings>
| Enum Constant and Description |
|---|
BIGDECIMAL |
BIGINTEGER |
BOOLEAN |
BYTE |
CHAR |
CHARSEQUENCE |
DOUBLE |
FLOAT |
INTEGER |
LONG |
PRIMITIVE_BOOLEAN |
PRIMITIVE_BYTE |
PRIMITIVE_CHAR |
PRIMITIVE_DOUBLE |
PRIMITIVE_FLOAT |
PRIMITIVE_INTEGER |
PRIMITIVE_LONG |
PRIMITIVE_SHORT |
SHORT |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static String |
forClass(Class<?> c)
Return a primitive type for a given class, if any
|
static SimpleTypeMappings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleTypeMappings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleTypeMappings PRIMITIVE_BYTE
public static final SimpleTypeMappings PRIMITIVE_SHORT
public static final SimpleTypeMappings PRIMITIVE_INTEGER
public static final SimpleTypeMappings PRIMITIVE_LONG
public static final SimpleTypeMappings BYTE
public static final SimpleTypeMappings SHORT
public static final SimpleTypeMappings INTEGER
public static final SimpleTypeMappings LONG
public static final SimpleTypeMappings BIGINTEGER
public static final SimpleTypeMappings PRIMITIVE_FLOAT
public static final SimpleTypeMappings PRIMITIVE_DOUBLE
public static final SimpleTypeMappings FLOAT
public static final SimpleTypeMappings DOUBLE
public static final SimpleTypeMappings BIGDECIMAL
public static final SimpleTypeMappings PRIMITIVE_BOOLEAN
public static final SimpleTypeMappings BOOLEAN
public static final SimpleTypeMappings PRIMITIVE_CHAR
public static final SimpleTypeMappings CHAR
public static final SimpleTypeMappings CHARSEQUENCE
public static final SimpleTypeMappings STRING
public static SimpleTypeMappings[] values()
for (SimpleTypeMappings c : SimpleTypeMappings.values()) System.out.println(c);
public static SimpleTypeMappings 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 © 2013 Reinert, Danilo. All Rights Reserved.