public class CountWrapper extends Object
Modifier | Constructor and Description |
---|---|
|
CountWrapper() |
protected |
CountWrapper(String word,
int countPart,
int countThat,
int countIn,
int countRB) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Equality is tested only on the word, and not the various counts
that are maintained.
|
int |
getCountIn() |
int |
getCountPart() |
int |
getCountRB() |
int |
getCountThat() |
String |
getWord() |
int |
hashCode() |
protected void |
incThat() |
protected void |
read(DataInputStream rf) |
protected void |
save(DataOutputStream rf) |
public CountWrapper()
protected CountWrapper(String word, int countPart, int countThat, int countIn, int countRB)
protected void incThat()
public int getCountPart()
public int getCountThat()
public int getCountIn()
public int getCountRB()
public String getWord()
public boolean equals(Object obj)
protected void save(DataOutputStream rf)
protected void read(DataInputStream rf)