|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisidia.simulation.process.criterion.DoorCriterion
public class DoorCriterion
DoorCriterion is used to select a message packet according to its incoming door.
Constructor Summary | |
---|---|
DoorCriterion(int wantedDoor)
Instantiates a new door criterion. |
Method Summary | |
---|---|
boolean |
isMatchedBy(java.lang.Object o)
Returns true if object is a MessagePacket coming from the expected door. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoorCriterion(int wantedDoor)
wantedDoor
- the wanted doorMethod Detail |
---|
public boolean isMatchedBy(java.lang.Object o)
isMatchedBy
in interface Criterion
o
- the object
Criterion.isMatchedBy(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |