Class SimAnyP
java.lang.Object
simEngine.SimPredicate
simEngine.SimAnyP
A predicate which will match any event on the deferred event queue.
There is a publicly accessible instance of this predicate in the
Sim_system class, called Sim_system.SIM_ANY, so the user does
not need to create any new instances.
See also eduni.simjava.Sim_predicate and eduni.simjava.Sim_system.
- Version:
- 1.0, 4 September 1996
- Author:
- Ross McNab
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimAnyP
public SimAnyP()Constructor.
-
-
Method Details
-
match
The match function called by Sim_system.simSelect(), not used directly by the user- Specified by:
matchin classSimPredicate- Parameters:
ev- The event to test for a match.- Returns:
- The function should return
trueif the event matches and shoult be selected, offalseif it does not
-