|
GridSim v4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objecteduni.simjava.Sim_predicate
Predicates are used to select events from the deferred queue. This class is abstract and must be subclassed when writing a new predicate. Some standard predicates are provided, see below:
Sim_type_p,
Sim_from_p,
Sim_any_p,
Sim_none_p,
Sim_system| Constructor Summary | |
Sim_predicate()
|
|
| Method Summary | |
abstract boolean |
match(Sim_event event)
The match function which must be overidden when writing a new predicate. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sim_predicate()
| Method Detail |
public abstract boolean match(Sim_event event)
Sim_system.sim_select()
call is made by the user.
event - The event to test for a match.
true if the
event matches and should be selected, of false
if it doesn't
|
GridSim v4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||