public static class BlockFieldLexiconEntry.Factory extends Object implements FixedSizeWriteableFactory<LexiconEntry>
Modifier and Type | Field and Description |
---|---|
protected int |
fieldCount |
Constructor and Description |
---|
BlockFieldLexiconEntry.Factory(int _fieldCount)
Constructs an instance of the class with
|
BlockFieldLexiconEntry.Factory(String _fieldCount)
Constructs 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 BlockFieldLexiconEntry.Factory(int _fieldCount)
_fieldCount
- public BlockFieldLexiconEntry.Factory(String _fieldCount)
_fieldCount
- public int getSize()
getSize
in interface FixedSizeWriteableFactory<LexiconEntry>
public LexiconEntry newInstance()
newInstance
in interface WriteableFactory<LexiconEntry>
Terrier 4.0. Copyright © 2004-2014 University of Glasgow