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 TypeMethodDescriptionintcompare(LRUCacheCheapRead.CacheEntryImpl<?, ?> first, LRUCacheCheapRead.CacheEntryImpl<?, ?> second) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
comparein interfaceComparator<LRUCacheCheapRead.CacheEntryImpl<?,?>>
-