Package org.terrier.structures
Class NonIncrementalDocumentIndexEntry.Factory
- java.lang.Object
-
- org.terrier.structures.NonIncrementalDocumentIndexEntry.Factory
-
- All Implemented Interfaces:
FixedSizeWriteableFactory<DocumentIndexEntry>
,WriteableFactory<DocumentIndexEntry>
- Enclosing class:
- NonIncrementalDocumentIndexEntry
public static class NonIncrementalDocumentIndexEntry.Factory extends java.lang.Object implements FixedSizeWriteableFactory<DocumentIndexEntry>
Returna a factory for creating document index entries
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getSize()
Returns 21?DocumentIndexEntry
newInstance()
Creates a document index entry
-
-
-
Method Detail
-
getSize
public int getSize()
Returns 21?- Specified by:
getSize
in interfaceFixedSizeWriteableFactory<DocumentIndexEntry>
-
newInstance
public DocumentIndexEntry newInstance()
Creates a document index entry- Specified by:
newInstance
in interfaceWriteableFactory<DocumentIndexEntry>
-
-