|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.berkeley.guir.ptk.data.Data
Contains a single piece of data. Used to wrap data for use in the PTK. All Data objects have an id field. This is set by the creator of the Data and indentifies it. It is typically some string that describes the data, such as "sound" or "temperature". Some data ids are already specified in PTKConstants.
| Field Summary | |
java.lang.String |
id
Identifies the data (i.e., "microphone1" or "temperature"). |
| Constructor Summary | |
protected |
Data()
|
| Method Summary | |
abstract Data |
copy()
Returns a copy if this Data object. |
abstract boolean |
dataEquals(Data d)
Checks if the value of this is equal to the given Data. |
abstract boolean |
equals(Data d)
Checks if the value and id of this is equal to the given Data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String id
| Constructor Detail |
protected Data()
| Method Detail |
public abstract boolean equals(Data d)
d -
public abstract boolean dataEquals(Data d)
public abstract Data copy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||