Class SimTypeP
java.lang.Object
simEngine.SimPredicate
simEngine.SimTypeP
A predicate to select events with specific tags from the deferred
event queue.
See also eduni.simjava.Sim_predicate.
- Version:
- 1.0, 4 September 1996
- Author:
- Ross McNab
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimTypeP
public SimTypeP(int t1) Constructor.- Parameters:
t1- An event tag value
-
SimTypeP
public SimTypeP(int t1, int t2) Constructor.- Parameters:
t1- An event tag valuet2- An event tag value
-
SimTypeP
public SimTypeP(int t1, int t2, int t3) Constructor.- Parameters:
t1- An event tag valuet2- An event tag valuet3- An event tag value
-
-
Method Details
-
match
The match function called by SimSystem.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
-