public static class SuffixTree.VisitorAdapter extends Object implements SuffixTree.IVisitor
| Constructor and Description |
|---|
SuffixTree.VisitorAdapter() |
public boolean pre(int state)
SuffixTree.IVisitorstate is descended into.pre in interface SuffixTree.IVisitorfalse omits the subtree of state.
SuffixTree.IVisitor.post(int) is not invoked for this state if skipped.public void post(int state)
SuffixTree.IVisitorstate is fully traversed.post in interface SuffixTree.IVisitorstate - Identifier of the completed state.public boolean edge(int fromState,
int toState,
int startIndex,
int endIndex)
SuffixTree.IVisitoredge in interface SuffixTree.IVisitorfalse skips the traversal of
toState.