public static class Tr4FieldLexiconEntry.Factory extends Object implements FixedSizeWriteableFactory<LexiconEntry>
Modifier and Type | Field and Description |
---|---|
protected int |
fieldCount |
Constructor and Description |
---|
Factory()
Construct an instance of the class.
|
Factory(int _fieldCount)
Construct an instance of the class with
|
Factory(String _fieldCount)
Construct an instance of the class with
|
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()
public Factory(int _fieldCount)
_fieldCount
- public Factory(String _fieldCount)
_fieldCount
- 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