|
GridSim v3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecteduni.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 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 user
match
in class Sim_predicate
ev
- The event to test for a match.
true
if the event matches the predicate, false
otherwise
|
GridSim v3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |