protected static class AbstractBreadthFirstThrowingTraversal.StaticBreadthFirstTraversal<Node> extends AbstractBreadthFirstThrowingTraversal<Node,RuntimeException>
AbstractBreadthFirstThrowingTraversal.StaticBreadthFirstTraversal<Node>, AbstractBreadthFirstThrowingTraversal.Visitor<Node,E extends Throwable>
Modifier | Constructor and Description |
---|---|
protected |
StaticBreadthFirstTraversal(Iterable<? extends Node> initialNodes,
AbstractBreadthFirstThrowingTraversal.Visitor<Node,RuntimeException> visitor) |
protected |
StaticBreadthFirstTraversal(Node initialNode,
AbstractBreadthFirstThrowingTraversal.Visitor<Node,RuntimeException> visitor) |
Modifier and Type | Method and Description |
---|---|
Iterable<Node> |
visit(Node node)
To perform a full traversal of the the
initialNode 's transitive dependencies, this
function should return all of node 's direct dependencies. |
onComplete, start, traverse, traverse
protected StaticBreadthFirstTraversal(Node initialNode, AbstractBreadthFirstThrowingTraversal.Visitor<Node,RuntimeException> visitor)
protected StaticBreadthFirstTraversal(Iterable<? extends Node> initialNodes, AbstractBreadthFirstThrowingTraversal.Visitor<Node,RuntimeException> visitor)
public Iterable<Node> visit(Node node) throws RuntimeException
AbstractBreadthFirstThrowingTraversal
initialNode
's transitive dependencies, this
function should return all of node
's direct dependencies.visit
in class AbstractBreadthFirstThrowingTraversal<Node,RuntimeException>
node
- Visited graph nodeRuntimeException