|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.BasicLexiconEntry.Factory org.terrier.structures.BlockLexiconEntry.Factory
public static class BlockLexiconEntry.Factory
Factory for creating block lexicon entries
Constructor Summary | |
---|---|
BlockLexiconEntry.Factory()
|
Method Summary | |
---|---|
int |
getSize()
Returns the size in bytes when T is written to disk by Writable interface methods |
LexiconEntry |
newInstance()
Make a new instance of T |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockLexiconEntry.Factory()
Method Detail |
---|
public int getSize()
getSize
in interface FixedSizeWriteableFactory<LexiconEntry>
getSize
in class BasicLexiconEntry.Factory
public LexiconEntry newInstance()
newInstance
in interface WriteableFactory<LexiconEntry>
newInstance
in class BasicLexiconEntry.Factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |