GridSim
v3.1

eduni.simjava
Class Sim_not_type_p

Object
  extended byeduni.simjava.Sim_predicate
      extended byeduni.simjava.Sim_not_type_p

public class Sim_not_type_p
extends Sim_predicate

A predicate to select events that don't match specific tags.

Version:
1.0, 12 July 2002
Author:
Costas Simatos
See Also:
Sim_type_p, Sim_predicate

Constructor Summary
Sim_not_type_p(int tag)
          Constructor used to select events whose tags don't match a given tag.
Sim_not_type_p(int[] tags)
          Constructor used to select events whose tag values don't match any of the given tags.
 
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_not_type_p

public Sim_not_type_p(int tag)
Constructor used to select events whose tags don't match a given tag.

Parameters:
tag - An event tag value

Sim_not_type_p

public Sim_not_type_p(int[] tags)
Constructor used to select events whose tag values don't match any of the given tags.

Parameters:
tags - The list of tags
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.1

The University of Melbourne, Australia, 2004