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