public enum EJavaPrimitive extends java.lang.Enum<EJavaPrimitive>
| Enum Constant and Description | 
|---|
| BOOLEANboolean | 
| BYTEbyte | 
| CHARchar | 
| DOUBLEdouble | 
| FLOATfloat | 
| INTint | 
| LONGlong | 
| SHORTshort | 
| VOIDvoid | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Class<?> | getClassObject()Get the class object of the primitive. | 
| static EJavaPrimitive | getForPrimitiveClass(java.lang.Class<?> clazz)Returns the enum literal belonging to the given primitive class (or
 null). | 
| static EJavaPrimitive | getForPrimitiveOrWrapperClass(java.lang.Class<?> clazz)Returns the enum literal belonging to the given primitive or wrapper
 class (or null). | 
| static EJavaPrimitive | getForWrapperClass(java.lang.Class<?> clazz)Returns the enum literal belonging to the given wrapper class (or null). | 
| static EJavaPrimitive | getPrimitive(java.lang.String name)Get primitive by name. | 
| static EJavaPrimitive | getPrimitiveIgnoreCase(java.lang.String name)Get primitive by name ignoring case. | 
| java.lang.Class<?> | getWrapperClass()Returns the wrapper class for the primitive. | 
| static boolean | isWrapperType(java.lang.Class<?> clazz)Returns whether the given class is a wrapper type for a primitive. | 
| static EJavaPrimitive | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static EJavaPrimitive[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final EJavaPrimitive VOID
public static final EJavaPrimitive BYTE
public static final EJavaPrimitive CHAR
public static final EJavaPrimitive DOUBLE
public static final EJavaPrimitive FLOAT
public static final EJavaPrimitive INT
public static final EJavaPrimitive LONG
public static final EJavaPrimitive SHORT
public static final EJavaPrimitive BOOLEAN
public static EJavaPrimitive[] values()
for (EJavaPrimitive c : EJavaPrimitive.values()) System.out.println(c);
public static EJavaPrimitive 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.Class<?> getClassObject()
public java.lang.Class<?> getWrapperClass()
public static EJavaPrimitive getPrimitive(java.lang.String name)
null if unknown primitive was requestedpublic static EJavaPrimitive getPrimitiveIgnoreCase(java.lang.String name)
null if unknown primitive was requestedpublic static EJavaPrimitive getForPrimitiveClass(java.lang.Class<?> clazz)
public static EJavaPrimitive getForWrapperClass(java.lang.Class<?> clazz)
public static EJavaPrimitive getForPrimitiveOrWrapperClass(java.lang.Class<?> clazz)
public static boolean isWrapperType(java.lang.Class<?> clazz)