Package org.terrier.structures
Class BasicLexiconEntry.Factory
- java.lang.Object
-
- org.terrier.structures.BasicLexiconEntry.Factory
-
- All Implemented Interfaces:
FixedSizeWriteableFactory<LexiconEntry>
,WriteableFactory<LexiconEntry>
- Enclosing class:
- BasicLexiconEntry
public static class BasicLexiconEntry.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>
-
-