org.terrier.structures
Class FieldDocumentIndexEntry.Factory

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

public static class FieldDocumentIndexEntry.Factory
extends BasicDocumentIndexEntry.Factory

Factory for creating a field document index entry


Field Summary
protected  int fieldCount
           
 
Constructor Summary
FieldDocumentIndexEntry.Factory(int _fieldCount)
          Constructs an instance of the class with
FieldDocumentIndexEntry.Factory(java.lang.String _fieldCount)
          Constructs an instance of the class with
 
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
 

Field Detail

fieldCount

protected int fieldCount
Constructor Detail

FieldDocumentIndexEntry.Factory

public FieldDocumentIndexEntry.Factory(int _fieldCount)
Constructs an instance of the class with

Parameters:
_fieldCount -

FieldDocumentIndexEntry.Factory

public FieldDocumentIndexEntry.Factory(java.lang.String _fieldCount)
Constructs an instance of the class with

Parameters:
_fieldCount -
Method Detail

getSize

public int getSize()
Description copied from class: BasicDocumentIndexEntry.Factory
Returns 17?

Specified by:
getSize in interface FixedSizeWriteableFactory<DocumentIndexEntry>
Overrides:
getSize in class BasicDocumentIndexEntry.Factory

newInstance

public DocumentIndexEntry newInstance()
Description copied from class: BasicDocumentIndexEntry.Factory
Creates a document index entry

Specified by:
newInstance in interface WriteableFactory<DocumentIndexEntry>
Overrides:
newInstance in class BasicDocumentIndexEntry.Factory


Terrier 3.5. Copyright © 2004-2011 University of Glasgow