edu.umd.hooka
Class WordWithCount

java.lang.Object
  extended by edu.umd.hooka.WordWithCount
All Implemented Interfaces:
Writable

public class WordWithCount
extends Object
implements Writable


Field Summary
 int count
           
 int word
           
 
Constructor Summary
WordWithCount()
           
WordWithCount(int w, int c)
           
 
Method Summary
 IntAugmentedPhrase getIntAugmentedPhrase()
           
static WordWithCount read(DataInput input)
           
 void readFields(DataInput input)
           
 void write(DataOutput output)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

word

public int word

count

public int count
Constructor Detail

WordWithCount

public WordWithCount()

WordWithCount

public WordWithCount(int w,
                     int c)
Method Detail

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()