org.terrier.structures
Interface BitFilePosition

All Known Subinterfaces:
BitIndexPointer
All Known Implementing Classes:
BasicDocumentIndexEntry, BasicLexiconEntry, BlockFieldLexiconEntry, BlockLexiconEntry, DocumentIndexEntry, FieldDocumentIndexEntry, FieldLexiconEntry, FilePosition, SimpleBitIndexPointer, SimpleDocumentIndexEntry

public interface BitFilePosition

A bit file position


Method Summary
 long getOffset()
          Return the offset
 byte getOffsetBits()
          Return the offset bits
 void setOffset(BitFilePosition pos)
          Set the offset
 void setOffset(long bytes, byte bits)
          Set the offset in bytes and bits
 

Method Detail

getOffset

long getOffset()
Return the offset


getOffsetBits

byte getOffsetBits()
Return the offset bits


setOffset

void setOffset(long bytes,
               byte bits)
Set the offset in bytes and bits


setOffset

void setOffset(BitFilePosition pos)
Set the offset



Terrier 3.5. Copyright © 2004-2011 University of Glasgow