Class Tr4BasicLexiconEntry.Factory
- java.lang.Object
-
- org.terrier.structures.restructure.Tr4BasicLexiconEntry.Factory
-
- All Implemented Interfaces:
FixedSizeWriteableFactory<LexiconEntry>
,WriteableFactory<LexiconEntry>
- Direct Known Subclasses:
Tr3BlockLexiconEntry.Factory
- Enclosing class:
- Tr4BasicLexiconEntry
public static class Tr4BasicLexiconEntry.Factory extends java.lang.Object implements FixedSizeWriteableFactory<LexiconEntry>
Factory for creating LexiconEntry objects
-
-
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>
-
newInstance
public LexiconEntry newInstance()
Make a new instance of T- Specified by:
newInstance
in interfaceWriteableFactory<LexiconEntry>
-
-