Class Tr3BlockLexiconEntry.Factory
- java.lang.Object
-
- org.terrier.structures.restructure.Tr4BasicLexiconEntry.Factory
-
- org.terrier.structures.restructure.Tr3BlockLexiconEntry.Factory
-
- All Implemented Interfaces:
FixedSizeWriteableFactory<LexiconEntry>
,WriteableFactory<LexiconEntry>
- Enclosing class:
- Tr3BlockLexiconEntry
public static class Tr3BlockLexiconEntry.Factory extends Tr4BasicLexiconEntry.Factory
Factory for creating block lexicon entries
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSize()
Returns the size in bytes when T is written to disk by Writable interface methodsLexiconEntry
newInstance()
Make a new instance of T
-
-
-
Method Detail
-
getSize
public int getSize()
Returns the size in bytes when T is written to disk by Writable interface methods- Specified by:
getSize
in interfaceFixedSizeWriteableFactory<LexiconEntry>
- Overrides:
getSize
in classTr4BasicLexiconEntry.Factory
-
newInstance
public LexiconEntry newInstance()
Make a new instance of T- Specified by:
newInstance
in interfaceWriteableFactory<LexiconEntry>
- Overrides:
newInstance
in classTr4BasicLexiconEntry.Factory
-
-