|
Triveni | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--triveni.Predicate
A predicate on an event, that is, a function from an event to boolean.
The user should override execute to provide the code
of the predicate.
The user should also override clone if the predicate
has state containing reference variables.
Switch,
If,
Valuator| Constructor Summary | |
Predicate()
|
|
| Method Summary | |
java.lang.Object |
clone()
|
abstract boolean |
execute(LabeledEvent event)
This method provides the code of the predicate. |
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Predicate()
| Method Detail |
public abstract boolean execute(LabeledEvent event)
event - the current event.public java.lang.Object clone()
|
Triveni | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||