|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecttextmaven.tst.TSTIterator
textmaven.tst.TSTCountIterator
Iterator that vistis every node and collects some statistics.
| Field Summary |
| Fields inherited from class textmaven.tst.TSTIterator |
REL_TO_STATE, STATE_TO_REL, STATE0_LO, STATE1_NODE, STATE2_EQ, STATE3_HI, STATE4_DONE |
| Constructor Summary | |
TSTCountIterator(textmaven.tst.TSTNode root)
|
|
| Method Summary | |
static TSTCountIterator |
count(TernarySearchTree tst)
|
java.lang.String |
toString()
|
protected boolean |
visitNode(textmaven.tst.TSTNode node)
|
| Methods inherited from class textmaven.tst.TSTIterator |
calculateNext, hasNext, next, nextEntry, remove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TSTCountIterator(textmaven.tst.TSTNode root)
root - | Method Detail |
protected boolean visitNode(textmaven.tst.TSTNode node)
visitNode in class TSTIteratorpublic static TSTCountIterator count(TernarySearchTree tst)
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||