|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type.public interface IType<T>
The Type is a platform independent definition of standard types.
| Field Summary | |
|---|---|
static UnknownType |
UNKNOWN_TYPE
The type is unknown. |
| Method Summary | |
|---|---|
int |
compareTo(T pObject1,
java.lang.Object pObject2)
Compares two objects. |
boolean |
equals(T pObject1,
java.lang.Object pObject2)
Returns true, if the two objects are equal. |
java.lang.Class<T> |
getTypeClass()
Returns the class used by this type. |
int |
hashCode(T pObject)
Returns the hash code of the given object. |
java.lang.String |
toString(T pObject)
Converts the object to a String. |
T |
validatedValueOf(java.lang.Object pObject)
Converts the object to an Object which is an instance of type class. |
T |
valueOf(java.lang.Object pObject)
Converts the object to an Object which is an instance of type class. |
| Field Detail |
|---|
static final UnknownType UNKNOWN_TYPE
| Method Detail |
|---|
java.lang.Class<T> getTypeClass()
T valueOf(java.lang.Object pObject)
Object which is an instance of type class.
pObject - the Object to convert
Object which is an instance of type class.T validatedValueOf(java.lang.Object pObject)
Object which is an instance of type class.
pObject - the Object to convert
Object which is an instance of type class.int hashCode(T pObject)
pObject - the object.
boolean equals(T pObject1,
java.lang.Object pObject2)
pObject1 - the first object.pObject2 - the second object.
int compareTo(T pObject1,
java.lang.Object pObject2)
pObject1 - the first object.pObject2 - the second object.
java.lang.String toString(T pObject)
pObject - the object.
String representation of the Object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||