Word

Represents a word of the full text index.

Methods
void addAll(Word other)
Add all data of the other word to this word.
void addAll(Word other)
Add all data of the other word to this word.
Parameters:
other - the other word
void addPage(Page page, int weight)
Add a page to this word.
void addPage(Page page, int weight)
Add a page to this word.
Parameters:
page - the page
weight - the weight of this word in this page
ArrayList getSortedWeights()
ArrayList getSortedWeights()
String toString()
String toString()

Fields
static String name
static HashMap pages

name

The word text.

pages

The pages map.