|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.index.stats.IndexStats
public final class IndexStats
This class assembles some index statistics.
Constructor Summary | |
---|---|
IndexStats(int maxstat)
Default constructor. |
Method Summary | |
---|---|
void |
add(byte[] tx)
Adds the specified token. |
boolean |
adding(int oc)
Checks if the specified number of occurrence will be remembered. |
void |
print(TokenBuilder tb)
Prints the list to the specified token builder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexStats(int maxstat)
maxstat
- maximum number of index occurrences to printMethod Detail |
---|
public boolean adding(int oc)
oc
- number of occurrences
public void add(byte[] tx)
tx
- token to be addedpublic void print(TokenBuilder tb)
tb
- token builder reference
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |