K
- the type of keys maintained by this mapV
- the type of mapped valuespublic static class PriorityEvictionQueue.EvictibleEntryComparator<K,V> extends Object implements Comparator<EvictibleEntry<K,V>>
EvictibleEntry
instances based on
their eviction time.Constructor and Description |
---|
PriorityEvictionQueue.EvictibleEntryComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(EvictibleEntry<K,V> entry1,
EvictibleEntry<K,V> entry2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public PriorityEvictionQueue.EvictibleEntryComparator()
public int compare(EvictibleEntry<K,V> entry1, EvictibleEntry<K,V> entry2)
compare
in interface Comparator<EvictibleEntry<K,V>>
Copyright © 2012–2016. All rights reserved.