private static class LongConcurrentLRUMap.PQueue<V> extends LongConcurrentLRUMap.PriorityQueue<LongConcurrentLRUMap.CacheEntry<V>>
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.Object[] |
heap |
(package private) int |
myMaxSize |
| Constructor and Description |
|---|
PQueue(int maxSz) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.lang.Iterable<LongConcurrentLRUMap.CacheEntry<V>> |
getValues() |
protected boolean |
lessThan(LongConcurrentLRUMap.CacheEntry<V> a,
LongConcurrentLRUMap.CacheEntry<V> b)
Determines the ordering of objects in this priority queue.
|
LongConcurrentLRUMap.CacheEntry<V> |
myInsertWithOverflow(LongConcurrentLRUMap.CacheEntry<V> element) |
add, clear, getHeapArray, getSentinelObject, insertWithOverflow, pop, size, top, updateTopjava.lang.Iterable<LongConcurrentLRUMap.CacheEntry<V>> getValues()
protected boolean lessThan(LongConcurrentLRUMap.CacheEntry<V> a, LongConcurrentLRUMap.CacheEntry<V> b)
LongConcurrentLRUMap.PriorityQueuelessThan in class LongConcurrentLRUMap.PriorityQueue<LongConcurrentLRUMap.CacheEntry<V>>true iff parameter a is less than parameter b.public LongConcurrentLRUMap.CacheEntry<V> myInsertWithOverflow(LongConcurrentLRUMap.CacheEntry<V> element)