|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PrimitiveType.Kind> com.sun.mirror.type.PrimitiveType.Kind
public static enum PrimitiveType.Kind
An enumeration of the different kinds of primitive types.
Enum Constant Summary | |
---|---|
BOOLEAN
The primitive type boolean |
|
BYTE
The primitive type byte |
|
CHAR
The primitive type char |
|
DOUBLE
The primitive type double |
|
FLOAT
The primitive type float |
|
INT
The primitive type int |
|
LONG
The primitive type long |
|
SHORT
The primitive type short |
Method Summary | |
---|---|
static PrimitiveType.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PrimitiveType.Kind[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PrimitiveType.Kind BOOLEAN
public static final PrimitiveType.Kind BYTE
public static final PrimitiveType.Kind SHORT
public static final PrimitiveType.Kind INT
public static final PrimitiveType.Kind LONG
public static final PrimitiveType.Kind CHAR
public static final PrimitiveType.Kind FLOAT
public static final PrimitiveType.Kind DOUBLE
Method Detail |
---|
public static final PrimitiveType.Kind[] values()
for(PrimitiveType.Kind c : PrimitiveType.Kind.values()) System.out.println(c);
public static PrimitiveType.Kind valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
Mirror API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |