|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.BlockFieldLexiconEntry.Factory
public static class BlockFieldLexiconEntry.Factory
Factory for creating LexiconEntries
Field Summary | |
---|---|
protected int |
fieldCount
|
Constructor Summary | |
---|---|
BlockFieldLexiconEntry.Factory(int _fieldCount)
Constructs an instance of the class with |
|
BlockFieldLexiconEntry.Factory(java.lang.String _fieldCount)
Constructs an instance of the class with |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int fieldCount
Constructor Detail |
---|
public BlockFieldLexiconEntry.Factory(int _fieldCount)
_fieldCount
- public BlockFieldLexiconEntry.Factory(java.lang.String _fieldCount)
_fieldCount
- Method Detail |
---|
public int getSize()
getSize
in interface FixedSizeWriteableFactory<LexiconEntry>
public LexiconEntry newInstance()
newInstance
in interface WriteableFactory<LexiconEntry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |