|
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_any_p
A predicate which will match any event on the deferred event queue.
There is a publicly accessible instance of this predicate in
Sim_system
, called Sim_system.SIM_ANY
, so
no new instances need to be created..
Sim_predicate
,
Sim_system
Constructor Summary | |
Sim_any_p()
Obtains a new instance. |
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_any_p()
Method Detail |
public boolean match(Sim_event ev)
Sim_system
,
not used directly by the usermatch
in class Sim_predicate
eduni.simjava.Sim_predicate
event
- The event to test for a match.true
if the
event matches and should be selected, of false
if it doesn't
|
SimJava v2.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |