org.terrier.structures
Interface Skipable

All Known Implementing Classes:
BitPostingIndexInputStream, BlockDirectIndexInputStream, BlockInvertedIndexInputStream, DirectIndexInputStream, FSADocumentIndex.FSADocumentIndexIterator, FSArrayFile.ArrayFileIterator, FSOMapFileLexicon.MapFileLexiconEntryIterator, FSOrderedMapFile.EntryIterator, InvertedIndexInputStream

public interface Skipable

Interface denoting implementations which can skip forward in a stream by a number of entries.

Since:
3.0

Method Summary
 void skip(int numEntries)
          Skip forward the specified number of entries.
 

Method Detail

skip

void skip(int numEntries)
          throws java.io.IOException
Skip forward the specified number of entries. Should be followed by a next() call.

Parameters:
numEntries - number of entries to skip
Throws:
java.io.IOException - if an IO problem occurs.


Terrier 3.5. Copyright © 2004-2011 University of Glasgow