Class SimPredicate
java.lang.Object
simEngine.SimPredicate
Predicates are used to select events from the deferred queue.
This class is abstract and must be subclassed when writing new
predicate.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimPredicate
public SimPredicate()
-
-
Method Details
-
match
The match function which must be overridden when writing a new predicate. The function is called with each event in the deferred queue as its parameter when aSimSystem.simSelect()call is made by the user.- Parameters:
event- The event to test for a match.- Returns:
- The function should return
trueif the event matches and shoult be selected, offalseif it does not
-