|
SimJava v2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--eduni.simjava.Sim_predicate | +--eduni.simjava.Sim_from_p
A predicate which selects events from specific entities.
Sim_not_from_p
,
Sim_predicate
Constructor Summary | |
Sim_from_p(int source_id)
Constructor used to select events that were sent by a specific entity. |
|
Sim_from_p(int[] source_ids)
Constructor used to select events that were sent by any entity from a given set. |
Method Summary | |
boolean |
match(Sim_event ev)
The match function called by Sim_system , not used directly by the user |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sim_from_p(int source_id)
source_id
- The id number of the source entitypublic Sim_from_p(int[] source_ids)
source_ids
- The set of id numbers of the source entitiesMethod Detail |
public boolean match(Sim_event ev)
Sim_system
, not used directly by the usermatch
in class Sim_predicate
The
- event to checktrue
if the event matches the predicate, false
otherwise
|
SimJava v2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |