/* Sim_none_p.java */ package eduni.simjava; /** * A predicate which will not 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_NONE, so the user does * not need to create any new instances. * @see eduni.simjava.Sim_predicate * @see eduni.simjava.Sim_system * @version 1.0, 4 September 1996 * @author Ross McNab */ public class Sim_none_p extends Sim_predicate { /** Constructor. * @return A new instance of the class. */ public Sim_none_p() {}; /** The match function called by Sim_system.sim_select(), * not used directly by the user */ public boolean match(Sim_event ev) { return false; } }