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 boolean
Determines 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, updateTop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:PriorityQueue
Determines the ordering of objects in this priority queue. Subclasses must define this one method.- Specified by:
lessThan
in classPriorityQueue<Lucene90CompoundFormat.SizedFile>
- Returns:
true
iff parametera
is less than parameterb
.
-