public class StopAtVisitor extends NullVisitor
| Constructor and Description |
|---|
StopAtVisitor(Vertex objectToCheck)
Creates a new instance of StopAtVisitor and specifies
which Vertex stop
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
visit(Vertex objectToVisit)
Override of superclass' visit() method.
|
boolean |
wasFound() |
public StopAtVisitor(Vertex objectToCheck)
objectToCheck - stop at the specified vertexpublic boolean visit(Vertex objectToVisit)
visit in interface Visitorvisit in class NullVisitorobjectToVisit - Vertex being visited.public boolean wasFound()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.