org.terrier.structures
Class BasicDocumentIndexEntry.Factory

java.lang.Object
  extended by org.terrier.structures.BasicDocumentIndexEntry.Factory
All Implemented Interfaces:
FixedSizeWriteableFactory<DocumentIndexEntry>, WriteableFactory<DocumentIndexEntry>
Direct Known Subclasses:
FieldDocumentIndexEntry.Factory
Enclosing class:
BasicDocumentIndexEntry

public static class BasicDocumentIndexEntry.Factory
extends java.lang.Object
implements FixedSizeWriteableFactory<DocumentIndexEntry>

Returna a factory for creating document index entries


Constructor Summary
BasicDocumentIndexEntry.Factory()
           
 
Method Summary
 int getSize()
          Returns 17?
 DocumentIndexEntry newInstance()
          Creates a document index entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicDocumentIndexEntry.Factory

public BasicDocumentIndexEntry.Factory()
Method Detail

getSize

public int getSize()
Returns 17?

Specified by:
getSize in interface FixedSizeWriteableFactory<DocumentIndexEntry>

newInstance

public DocumentIndexEntry newInstance()
Creates a document index entry

Specified by:
newInstance in interface WriteableFactory<DocumentIndexEntry>


Terrier 3.5. Copyright © 2004-2011 University of Glasgow