Modifier and Type | Method and Description |
---|---|
static <T extends Traversable<T>> |
preorder(NodeVisitor<T> nodeVisitor,
EdgeVisitor<T> edgeVisitor,
T node)
Traverse the configuration (sub)tree in preorder, starting from the given node.
|
public static <T extends Traversable<T>> boolean preorder(NodeVisitor<T> nodeVisitor, EdgeVisitor<T> edgeVisitor, T node)
nodeVisitor
- node visitor. Can be null.edgeVisitor
- edge visitor. Can be null.node
- current node of the configuration tree.Copyright © 2017 The Apache Software Foundation. All rights reserved.