All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class eduni.simjava.Sim_type_p

java.lang.Object
   |
   +----eduni.simjava.Sim_predicate
           |
           +----eduni.simjava.Sim_type_p

public class Sim_type_p
extends Sim_predicate
A predicate to select events with specific tags from the deferred event queue.

See Also:
Sim_predicate

Constructor Index

 o Sim_type_p(int)
Constructor.
 o Sim_type_p(int, int)
Constructor.
 o Sim_type_p(int, int, int)
Constructor.

Method Index

 o match(Sim_event)
The match function called by Sim_system.sim_select(), not used directly by the user

Constructors

 o Sim_type_p
 public Sim_type_p(int t1)
Constructor.

Parameters:
t1 - An event tag value
Returns:
A predicate which selects events with the tag value t1
 o Sim_type_p
 public Sim_type_p(int t1,
                   int t2)
Constructor.

Parameters:
t1 - An event tag value
t2 - An event tag value
Returns:
A predicate which selects events with the tag values t1 or t2
 o Sim_type_p
 public Sim_type_p(int t1,
                   int t2,
                   int t3)
Constructor.

Parameters:
t1 - An event tag value
t2 - An event tag value
t3 - An event tag value
Returns:
A predicate which selects events with the tag value t1, t2, or t3

Methods

 o match
 public boolean match(Sim_event ev)
The match function called by Sim_system.sim_select(), not used directly by the user

Overrides:
match in class Sim_predicate

All Packages  Class Hierarchy  This Package  Previous  Next  Index