|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsalvo.jesus.graph.NullVisitor
salvo.jesus.graph.StopAtVisitor
class StopAtVisitor
A Visitor that notifies a traversal to stop at a particular Vertex.
Field Summary | |
---|---|
(package private) Vertex |
objectToCheck
Vertex to check for when visiting a vertex |
Constructor Summary | |
---|---|
StopAtVisitor(Vertex objectToCheck)
Creates a new instance of StopAtVisitor and specifies which Vertex stop |
Method Summary | |
---|---|
boolean |
visit(Vertex objectToVisit)
Override of superclass' visit() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Vertex objectToCheck
Constructor Detail |
---|
StopAtVisitor(Vertex objectToCheck)
objectToCheck
- stop at the specified vertexMethod Detail |
---|
public boolean visit(Vertex objectToVisit)
visit
in interface Visitor
visit
in class NullVisitor
objectToVisit
- Vertex being visited.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |