org.terrier.structures
Class SimpleBitIndexPointer.Factory
java.lang.Object
org.terrier.structures.SimpleBitIndexPointer.Factory
- All Implemented Interfaces:
- FixedSizeWriteableFactory<SimpleBitIndexPointer>, WriteableFactory<SimpleBitIndexPointer>
- Enclosing class:
- SimpleBitIndexPointer
public static class SimpleBitIndexPointer.Factory
- extends Object
- implements FixedSizeWriteableFactory<SimpleBitIndexPointer>
Factory class for SimpleBitIndexPointer
. Total size is 13 bytes
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleBitIndexPointer.Factory
public SimpleBitIndexPointer.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<SimpleBitIndexPointer>
newInstance
public SimpleBitIndexPointer newInstance()
- Make a new instance of T
- Specified by:
newInstance
in interface WriteableFactory<SimpleBitIndexPointer>
Terrier 3.6. Copyright © 2004-2011 University of Glasgow