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:
java.lang.Iterable<Lucene90CompoundFormat.SizedFile>
- Enclosing class:
- Lucene90CompoundFormat
private static class Lucene90CompoundFormat.SizedFileQueue extends PriorityQueue<Lucene90CompoundFormat.SizedFile>
-
-
Constructor Summary
Constructors Constructor Description SizedFileQueue(int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
lessThan(Lucene90CompoundFormat.SizedFile sf1, Lucene90CompoundFormat.SizedFile sf2)
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
-
-
-
-
Method Detail
-
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
.
-
-