SimJava
v2.0

eduni.simjava
Class Sim_not_type_p

java.lang.Object
  |
  +--eduni.simjava.Sim_predicate
        |
        +--eduni.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.

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