org.apache.lucene.search.spans
Class SpanOrQuery.SpanQueue

Object
  extended by PriorityQueue
      extended by SpanOrQuery.SpanQueue
Enclosing class:
SpanOrQuery

private class SpanOrQuery.SpanQueue
extends PriorityQueue


Constructor Summary
SpanOrQuery.SpanQueue(int size)
           
 
Method Summary
protected  boolean lessThan(Object o1, Object o2)
          Determines the ordering of objects in this priority queue.
 
Methods inherited from class PriorityQueue
adjustTop, clear, initialize, insert, pop, put, setExpandable, size, top
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpanOrQuery.SpanQueue

public SpanOrQuery.SpanQueue(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