gate.creole.annic.apache.lucene.search
Class PhrasePositions

java.lang.Object
  extended by gate.creole.annic.apache.lucene.search.PhrasePositions

final class PhrasePositions
extends Object


Field Summary
(package private)  int count
           
(package private)  int doc
           
(package private)  PhrasePositions next
           
(package private)  int offset
           
(package private)  int position
           
(package private)  TermPositions tp
           
 
Constructor Summary
PhrasePositions(TermPositions t, int o)
           
 
Method Summary
(package private)  void firstPosition()
           
(package private)  boolean next()
           
(package private)  boolean nextPosition()
           
(package private)  boolean skipTo(int target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doc

int doc

position

int position

count

int count

offset

int offset

tp

TermPositions tp

next

PhrasePositions next
Constructor Detail

PhrasePositions

PhrasePositions(TermPositions t,
                int o)
          throws IOException
Throws:
IOException
Method Detail

next

final boolean next()
            throws IOException
Throws:
IOException

skipTo

final boolean skipTo(int target)
              throws IOException
Throws:
IOException

firstPosition

final void firstPosition()
                  throws IOException
Throws:
IOException

nextPosition

final boolean nextPosition()
                    throws IOException
Throws:
IOException