public static class SimpleDocumentIndexEntry.Factory extends Object implements FixedSizeWriteableFactory<DocumentIndexEntry>
Constructor and Description |
---|
SimpleDocumentIndexEntry.Factory() |
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Returns the size in bytes when T is written
to disk by Writable interface methods
|
DocumentIndexEntry |
newInstance()
Make a new instance of T
|
public int getSize()
getSize
in interface FixedSizeWriteableFactory<DocumentIndexEntry>
public DocumentIndexEntry newInstance()
newInstance
in interface WriteableFactory<DocumentIndexEntry>
Terrier 4.0. Copyright © 2004-2014 University of Glasgow