SimJava
v2.0

eduni.simjava
Class Sim_any_p

java.lang.Object
  |
  +--eduni.simjava.Sim_predicate
        |
        +--eduni.simjava.Sim_any_p

public class Sim_any_p
extends Sim_predicate

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..

See Also:
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

Sim_any_p

public Sim_any_p()
Obtains a new instance.
Method Detail

match

public boolean match(Sim_event ev)
The match function called by Sim_system, not used directly by the user
Overrides:
match in class Sim_predicate
Following copied from class: eduni.simjava.Sim_predicate
Parameters:
event - The event to test for a match.
Returns:
The function should return true if the event matches and should be selected, of false if it doesn't

SimJava
v2.0

The University of Edinburgh, 2002