|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inria.ketuk.TypedObject
Used to represent an object with its type
This is needed to process in an unifor way objects instances of classes and objects which represents standard types (int, byte, boolean, etc)
Constructor Summary | |
TypedObject()
Default constructor |
|
TypedObject(java.lang.Object o,
java.lang.Class c)
Constructs a typed object representing the object o with the class c |
Method Summary | |
java.lang.Object |
getObject()
Gets the object |
java.lang.Class |
getType()
Gets the type |
void |
setObject(java.lang.Object o)
Sets the object |
void |
setType(java.lang.Class c)
Sets the type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TypedObject()
public TypedObject(java.lang.Object o, java.lang.Class c)
Method Detail |
public void setObject(java.lang.Object o)
public void setType(java.lang.Class c)
public java.lang.Object getObject()
public java.lang.Class getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |