Enum Constant and Description |
---|
Boolean
boolean
|
Byte
bye
|
Character
char
|
Double
double
|
Float
float
|
Integer
integer
|
Long
long
|
Short
short
|
String
string
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
allBasicType()
return string include all basic types
|
static java.lang.String |
allType()
return string include all basic and primitive types
|
static java.lang.String |
defaultValue(java.lang.String type)
return default value string
|
static boolean |
isBasicType(java.lang.String type)
is basic type
|
static boolean |
isPrimitiveType(java.lang.String type)
is primitive type
|
static BasicType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BasicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BasicType String
public static final BasicType Boolean
public static final BasicType Integer
public static final BasicType Double
public static final BasicType Byte
public static final BasicType Short
public static final BasicType Long
public static final BasicType Float
public static final BasicType Character
public static BasicType[] values()
for (BasicType c : BasicType.values()) System.out.println(c);
public static BasicType 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 static boolean isBasicType(java.lang.String type)
type
- type stringpublic static boolean isPrimitiveType(java.lang.String type)
type
- type stringpublic static java.lang.String allBasicType()
public static java.lang.String allType()
public static java.lang.String defaultValue(java.lang.String type)
type
- type stringCopyright © 2014 IronJacamar (http://www.ironjacamar.org)