Class LRUCacheCheapRead.CacheEntryImplComparator
java.lang.Object
org.glassfish.hk2.utilities.cache.internal.LRUCacheCheapRead.CacheEntryImplComparator
- All Implemented Interfaces:
Comparator<LRUCacheCheapRead.CacheEntryImpl<?,
?>>
- Enclosing class:
LRUCacheCheapRead<K,
V>
private static class LRUCacheCheapRead.CacheEntryImplComparator
extends Object
implements Comparator<LRUCacheCheapRead.CacheEntryImpl<?,?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(LRUCacheCheapRead.CacheEntryImpl<?, ?> first, LRUCacheCheapRead.CacheEntryImpl<?, ?> second) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CacheEntryImplComparator
private CacheEntryImplComparator()
-
-
Method Details
-
compare
public int compare(LRUCacheCheapRead.CacheEntryImpl<?, ?> first, LRUCacheCheapRead.CacheEntryImpl<?, ?> second) - Specified by:
compare
in interfaceComparator<LRUCacheCheapRead.CacheEntryImpl<?,
?>>
-