|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.text.suffixtree.SuffixTree.VisitorAdapter
public static class SuffixTree.VisitorAdapter
Empty implementation recursively walking the entire suffix tree.
| Constructor Summary | |
|---|---|
SuffixTree.VisitorAdapter()
|
|
| Method Summary | |
|---|---|
boolean |
edge(int fromState,
int toState,
int startIndex,
int endIndex)
Invoked when an edge is visited. |
void |
post(int state)
Invoked after state is fully traversed. |
boolean |
pre(int state)
Invoked before state is descended into. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SuffixTree.VisitorAdapter()
| Method Detail |
|---|
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.IVisitor
edge in interface SuffixTree.IVisitorfalse skips the traversal of
toState.
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||