|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.type.AbstractType<Object[]>
javax.rad.type.ArrayType
public class ArrayType
The ArrayType is a platform independent definition of an array.
| Field Summary |
|---|
| Fields inherited from interface javax.rad.type.IType |
|---|
UNKNOWN_TYPE |
| Constructor Summary | |
|---|---|
ArrayType()
Constructs a new ArrayType. |
|
ArrayType(IType<?> pComponentType)
Constructs a new ArrayType. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object[] pObject1,
Object pObject2)
Compares two objects. |
Object |
get(Object pObject)
Gets the length. |
IType<?> |
getComponentType()
Gets the component type. |
int |
getLength(Object pObject)
Gets the length. |
Class<Object[]> |
getTypeClass()
Returns the class used by this type. |
Object[] |
valueOf(Object pObject)
Converts the object to an Object which is an instance of type class. |
| Methods inherited from class javax.rad.type.AbstractType |
|---|
equals, getTypeFromClass, getTypeFromObject, hashCode, registerType, toString, validatedValueOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayType()
ArrayType.
public ArrayType(IType<?> pComponentType)
ArrayType.
pComponentType - the component type.| Method Detail |
|---|
public Class<Object[]> getTypeClass()
public Object[] valueOf(Object pObject)
Object which is an instance of type class.
valueOf in interface IType<Object[]>valueOf in class AbstractType<Object[]>pObject - the Object to convert
Object which is an instance of type class.
public int compareTo(Object[] pObject1,
Object pObject2)
pObject1 - the first object.pObject2 - the second object.
public IType<?> getComponentType()
public int getLength(Object pObject)
pObject - the array.
public Object get(Object pObject)
pObject - the array.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||