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