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 Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow