GridSim
v3.2

eduni.simjava
Class Sim_any_p

Object
  extended byeduni.simjava.Sim_predicate
      extended byeduni.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..

Version:
1.0, 4 September 1996
Author:
Ross McNab
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 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

Specified by:
match in class Sim_predicate
Parameters:
ev - 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

GridSim
v3.2

The University of Melbourne, Australia, 2005