|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.seralization.FixedSizeIntWritableFactory
public class FixedSizeIntWritableFactory
Makes an IntWritable, which has a fixed Writable size of 4 bytes.
Constructor Summary | |
---|---|
FixedSizeIntWritableFactory()
|
Method Summary | |
---|---|
int |
getSize()
Return size of IntWritable, namely 4 bytes |
org.apache.hadoop.io.IntWritable |
newInstance()
Makes a new IntWritable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedSizeIntWritableFactory()
Method Detail |
---|
public int getSize()
getSize
in interface FixedSizeWriteableFactory<org.apache.hadoop.io.IntWritable>
public org.apache.hadoop.io.IntWritable newInstance()
newInstance
in interface WriteableFactory<org.apache.hadoop.io.IntWritable>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |