Package 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 java.lang.Object implements FixedSizeWriteableFactory<SimpleBitIndexPointer>
Factory class forSimpleBitIndexPointer. Total size is 13 bytes
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSize()Returns the size in bytes when T is written to disk by Writable interface methodsSimpleBitIndexPointernewInstance()Make a new instance of T
-
-
-
Method Detail
-
getSize
public int getSize()
Returns the size in bytes when T is written to disk by Writable interface methods- Specified by:
getSizein interfaceFixedSizeWriteableFactory<SimpleBitIndexPointer>
-
newInstance
public SimpleBitIndexPointer newInstance()
Make a new instance of T- Specified by:
newInstancein interfaceWriteableFactory<SimpleBitIndexPointer>
-
-