|
GridSim v3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objecteduni.simjava.Sim_predicate
eduni.simjava.Sim_type_p
A predicate to select events with specific tags.
Sim_not_type_p,
Sim_predicate| Constructor Summary | |
Sim_type_p(int t1)
Constructor used to select events with the tag value t1. |
|
Sim_type_p(int[] tags)
Constructor used to select events with a tag value equal to any of the specified tags. |
|
Sim_type_p(int t1,
int t2)
Deprecated. This constructor is now replaced by the more flexible Sim_type_p(int[]).
To use this predicate call Sim_type_p(new int[] {t1, t2}). |
|
Sim_type_p(int t1,
int t2,
int t3)
Deprecated. This constructor is now replaced by the more flexible Sim_type_p(int[]).
To use this predicate call Sim_type_p(new int[] {t1, t2, t3}). |
|
| 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 |
public Sim_type_p(int t1)
t1.
t1 - An event tag value
public Sim_type_p(int t1,
int t2)
Sim_type_p(int[]).
To use this predicate call Sim_type_p(new int[] {t1, t2}).
t1 or t2.
t1 - An event tag valuet2 - An event tag value
public Sim_type_p(int t1,
int t2,
int t3)
Sim_type_p(int[]).
To use this predicate call Sim_type_p(new int[] {t1, t2, t3}).
t1, t2
or t3.
t1 - An event tag valuet2 - An event tag valuet3 - An event tag valuepublic Sim_type_p(int[] tags)
tags - The list of tags| Method Detail |
public boolean match(Sim_event ev)
Sim_system, not used directly by the user
match in class Sim_predicateev - The event to test for a match.
true if the
event matches and should be selected, of false
if it doesn't
|
GridSim v3.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||