| Enum Constant and Description |
|---|
Double |
Duration |
Float |
Integer |
Long |
Period |
String |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.Class<?> |
getType() |
static TypeClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeClass String
public static final TypeClass Integer
public static final TypeClass Double
public static final TypeClass Long
public static final TypeClass Float
public static final TypeClass Duration
public static final TypeClass Period
public static TypeClass[] values()
for (TypeClass c : TypeClass.values()) System.out.println(c);
public static TypeClass valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.Class<?> getType()