public final class IndexStats extends Object
Constructor and Description |
---|
IndexStats(int max)
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(int max)
max
- maximum number of index occurrences to printpublic boolean adding(int oc)
oc
- number of occurrencespublic void add(byte[] tx)
tx
- token to be addedpublic void print(TokenBuilder tb)
tb
- token builder referenceCopyright © 2005–2015 BaseX Team. All rights reserved.