|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.reflect.spi.PrimitiveInfo
Primitive info
Field Summary | |
static PrimitiveInfo |
BOOLEAN
The boolean info |
static PrimitiveInfo |
BYTE
The byte info |
static PrimitiveInfo |
CHAR
The char info |
static PrimitiveInfo |
DOUBLE
The double info |
static PrimitiveInfo |
FLOAT
The float info |
static PrimitiveInfo |
INT
The int info |
static PrimitiveInfo |
LONG
The long info |
protected String |
name
The name |
protected int |
ordinal
The ordinal |
static PrimitiveInfo |
SHORT
The short info |
protected Class |
type
The type |
static PrimitiveInfo |
VOID
The void info |
Constructor Summary | |
protected |
PrimitiveInfo(String name,
int ordinal,
Class type)
Create a new primitive info |
Method Summary | |
boolean |
equals(Object obj)
|
String |
getName()
Get the type name |
Class |
getType()
Get the class |
int |
hashCode()
|
int |
ordinal()
Get the ordinal |
String |
toString()
|
static PrimitiveInfo |
valueOf(String name)
Get the primitive info for a type |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PrimitiveInfo BOOLEAN
public static final PrimitiveInfo BYTE
public static final PrimitiveInfo CHAR
public static final PrimitiveInfo DOUBLE
public static final PrimitiveInfo FLOAT
public static final PrimitiveInfo INT
public static final PrimitiveInfo LONG
public static final PrimitiveInfo SHORT
public static final PrimitiveInfo VOID
protected final transient String name
protected final int ordinal
protected final transient Class type
Constructor Detail |
protected PrimitiveInfo(String name, int ordinal, Class type)
name
- the nameordinal
- the oridinaltype
- the classMethod Detail |
public static PrimitiveInfo valueOf(String name)
name
- the name
public int ordinal()
public String getName()
TypeInfo
getName
in interface TypeInfo
public Class getType()
TypeInfo
getType
in interface TypeInfo
public String toString()
public boolean equals(Object obj)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |