public static class Tr4BasicLexiconEntry.Factory extends Object implements FixedSizeWriteableFactory<LexiconEntry>
Constructor and Description |
---|
Factory()
Constructs an instance of Factory.
|
Factory(String s)
Constructs an instance of Factory.
|
Modifier and Type | Method and Description |
---|---|
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
|
public Factory(String s)
s
- public Factory()
public int getSize()
getSize
in interface FixedSizeWriteableFactory<LexiconEntry>
public LexiconEntry newInstance()
newInstance
in interface WriteableFactory<LexiconEntry>
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow