Package org.apache.hadoop.hbase.util
Class BoundedPriorityBlockingQueue.PriorityQueue<E>
java.lang.Object
org.apache.hadoop.hbase.util.BoundedPriorityBlockingQueue.PriorityQueue<E>
- Enclosing class:
- BoundedPriorityBlockingQueue<E>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Comparator<? super E>
private int
private final E[]
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Comparator<? super E>
boolean
peek()
poll()
int
int
size()
private int
upperBound
(int start, int end, E key)
-
Field Details
-
comparator
-
objects
-
head
-
tail
-
-
Constructor Details
-
PriorityQueue
-
-
Method Details
-
add
-
peek
-
poll
-
size
-
comparator
-
contains
-
remainingCapacity
-
upperBound
-