public class CountWrapper
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
CountWrapper() |
protected |
CountWrapper(java.lang.String word,
int countPart,
int countThat,
int countIn,
int countRB) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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() |
java.lang.String |
getWord() |
int |
hashCode() |
protected void |
incThat() |
protected void |
read(java.io.DataInputStream rf) |
protected void |
save(java.io.DataOutputStream rf) |
public CountWrapper()
protected CountWrapper(java.lang.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 java.lang.String getWord()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Item tested for equalityprotected void save(java.io.DataOutputStream rf)
protected void read(java.io.DataInputStream rf)