public final class IndexStats
extends java.lang.Object
| Constructor and Description |
|---|
IndexStats(Data d)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public IndexStats(Data d)
d - data referencepublic boolean adding(int oc)
oc - number of occurrencespublic void add(byte[] tx)
tx - token to be addedpublic void print(TokenBuilder tb)
tb - token builder reference