|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.terrier.structures.BasicLexiconEntry.Factory
public static class BasicLexiconEntry.Factory
Factory for creating LexiconEntry objects
Constructor Summary | |
---|---|
BasicLexiconEntry.Factory()
Constructs an instance of Factory. |
|
BasicLexiconEntry.Factory(java.lang.String s)
Constructs an instance of Factory. |
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 |
Constructor Detail |
---|
public BasicLexiconEntry.Factory(java.lang.String s)
s
- public BasicLexiconEntry.Factory()
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 |