org.terrier.structures
Class SimpleDocumentIndexEntry.Factory
java.lang.Object
org.terrier.structures.SimpleDocumentIndexEntry.Factory
- All Implemented Interfaces:
- FixedSizeWriteableFactory<DocumentIndexEntry>, WriteableFactory<DocumentIndexEntry>
- Enclosing class:
- SimpleDocumentIndexEntry
public static class SimpleDocumentIndexEntry.Factory
- extends Object
- implements FixedSizeWriteableFactory<DocumentIndexEntry>
Factory for the creation of DocumentIndexEntry objects
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDocumentIndexEntry.Factory
public SimpleDocumentIndexEntry.Factory()
getSize
public int getSize()
- Returns the size in bytes when T is written
to disk by Writable interface methods
- Specified by:
getSize
in interface FixedSizeWriteableFactory<DocumentIndexEntry>
newInstance
public DocumentIndexEntry newInstance()
- Make a new instance of T
- Specified by:
newInstance
in interface WriteableFactory<DocumentIndexEntry>
Terrier 3.6. Copyright © 2004-2011 University of Glasgow