|
||||||||||
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,
Object pObject2)
Compares two objects. |
boolean |
equals(T pObject1,
Object pObject2)
Returns true, if the two objects are equal. |
Class<T> |
getTypeClass()
Returns the class used by this type. |
int |
hashCode(T pObject)
Returns the hash code of the given object. |
String |
toString(T pObject)
Converts the object to a String. |
T |
validatedValueOf(Object pObject)
Converts the object to an Object which is an instance of type class. |
T |
valueOf(Object pObject)
Converts the object to an Object which is an instance of type class. |
Field Detail |
---|
static final UnknownType UNKNOWN_TYPE
Method Detail |
---|
Class<T> getTypeClass()
T valueOf(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(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, Object pObject2)
pObject1
- the first object.pObject2
- the second object.
int compareTo(T pObject1, Object pObject2)
pObject1
- the first object.pObject2
- the second object.
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 |