Module org.apache.lucene.core
Class Lucene90CompoundFormat.SizedFileQueue
java.lang.Object
org.apache.lucene.util.PriorityQueue<Lucene90CompoundFormat.SizedFile>
org.apache.lucene.codecs.lucene90.Lucene90CompoundFormat.SizedFileQueue
- All Implemented Interfaces:
Iterable<Lucene90CompoundFormat.SizedFile>
- Enclosing class:
Lucene90CompoundFormat
private static class Lucene90CompoundFormat.SizedFileQueue
extends PriorityQueue<Lucene90CompoundFormat.SizedFile>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDetermines the ordering of objects in this priority queue.Methods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
SizedFileQueue
SizedFileQueue(int maxSize)
-
-
Method Details
-
lessThan
protected boolean lessThan(Lucene90CompoundFormat.SizedFile sf1, Lucene90CompoundFormat.SizedFile sf2) Description copied from class:PriorityQueueDetermines the ordering of objects in this priority queue. Subclasses must define this one method.- Specified by:
lessThanin classPriorityQueue<Lucene90CompoundFormat.SizedFile>- Returns:
trueiff parameterais less than parameterb.
-