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

java.lang.Object
  extended by gate.creole.annic.apache.lucene.util.PriorityQueue
      extended by gate.creole.annic.apache.lucene.search.PhraseQueue

final class PhraseQueue
extends PriorityQueue


Constructor Summary
PhraseQueue(int size)
           
 
Method Summary
protected  boolean lessThan(Object o1, Object o2)
          Determines the ordering of objects in this priority queue.
 
Methods inherited from class gate.creole.annic.apache.lucene.util.PriorityQueue
adjustTop, clear, initialize, insert, pop, put, size, top
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhraseQueue

PhraseQueue(int size)
Method Detail

lessThan

protected final boolean lessThan(Object o1,
                                 Object o2)
Description copied from class: PriorityQueue
Determines the ordering of objects in this priority queue. Subclasses must define this one method.

Specified by:
lessThan in class PriorityQueue