public class PredicateNavigator extends Object implements TreeNavigator
Constructor and Description |
---|
PredicateNavigator(TreeNavigator navigator) |
PredicateNavigator(TreeNavigator navigator,
Matcher<TreePath> p) |
Modifier and Type | Method and Description |
---|---|
Matcher<TreePath> |
getMatchPredicate() |
TreePath |
next(TreePath current) |
TreePath |
previous(TreePath current)
A depth-first traversal of the tree starting at the given node.
|
void |
setMatchPredicate(Matcher<TreePath> matchPredicate) |
public PredicateNavigator(TreeNavigator navigator)
public PredicateNavigator(TreeNavigator navigator, Matcher<TreePath> p)
public TreePath next(TreePath current)
next
in interface TreeNavigator
public TreePath previous(TreePath current)
previous
in interface TreeNavigator
current
- Copyright © 2024 levigo holding gmbh. All rights reserved.