public static class SimpleDocumentIndexEntry.Factory extends Object implements FixedSizeWriteableFactory<DocumentIndexEntry>
Constructor and Description |
---|
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 Platform 5.1. Copyright © 2004-2019, University of Glasgow