edu.umd.hooka
Class WordWithCount
java.lang.Object
edu.umd.hooka.WordWithCount
- All Implemented Interfaces:
- Writable
public class WordWithCount
- extends Object
- implements Writable
word
public int word
count
public int count
WordWithCount
public WordWithCount()
WordWithCount
public WordWithCount(int w,
int c)
read
public static WordWithCount read(DataInput input)
throws IOException
- Throws:
IOException
readFields
public void readFields(DataInput input)
throws IOException
- Specified by:
readFields in interface Writable
- Throws:
IOException
write
public void write(DataOutput output)
throws IOException
- Specified by:
write in interface Writable
- Throws:
IOException
getIntAugmentedPhrase
public IntAugmentedPhrase getIntAugmentedPhrase()