gate.creole.annic.apache.lucene.index
Class SegmentMergeQueue

java.lang.Object
  extended by gate.creole.annic.apache.lucene.util.PriorityQueue
      extended by gate.creole.annic.apache.lucene.index.SegmentMergeQueue

final class SegmentMergeQueue
extends PriorityQueue


Constructor Summary
SegmentMergeQueue(int size)
           
 
Method Summary
(package private)  void close()
           
protected  boolean lessThan(Object a, Object b)
          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

SegmentMergeQueue

SegmentMergeQueue(int size)
Method Detail

lessThan

protected final boolean lessThan(Object a,
                                 Object b)
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

close

final void close()
          throws IOException
Throws:
IOException