Class SimAnyP


public class SimAnyP extends SimPredicate
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 Details

    • SimAnyP

      public SimAnyP()
      Constructor.
  • Method Details

    • match

      public boolean match(SimEvent ev)
      The match function called by Sim_system.simSelect(), not used directly by the user
      Specified by:
      match in class SimPredicate
      Parameters:
      ev - The event to test for a match.
      Returns:
      The function should return true if the event matches and shoult be selected, of false if it does not