|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.tspaces.examples.simple.Example4Obj
This class is just a dummy Userdefined Class It must implenemt Serializable or Externalizable
Serializable,
Externalizable, Serialized Form| Constructor Summary | |
Example4Obj()
Default public constructor is required if you implement Externalizable |
|
Example4Obj(java.lang.String data)
Constructor with string specified |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
An equals method is needed if you are going to do any searching of TupleSpace for Tuples that have a match on the user object. |
java.lang.String |
getData()
This method will return the data object. |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Example4Obj()
public Example4Obj(java.lang.String data)
| Method Detail |
public java.lang.String getData()
public boolean equals(java.lang.Object other)
other - The value from the corresponding Field in the
Tuple that we are comparing against.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||