Package org.eclipse.handly.util
Class LruCache.Entry<K,V>
- java.lang.Object
-
- org.eclipse.handly.util.LruCache.Entry<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LruCache.Entry<K,V>next()Returns the cache entry that immediately follows this entry, ornullif this is the LRU entry.LruCache.Entry<K,V>prev()Returns the cache entry that is immediately followed by this entry, ornullif this is the MRU entry.java.lang.StringtoString()
-
-
-
Method Detail
-
prev
public final LruCache.Entry<K,V> prev()
Returns the cache entry that is immediately followed by this entry, ornullif this is the MRU entry.- Returns:
- the cache entry that is immediately followed by this entry,
or
nullif this is the MRU entry
-
next
public final LruCache.Entry<K,V> next()
Returns the cache entry that immediately follows this entry, ornullif this is the LRU entry.- Returns:
- the cache entry that immediately follows this entry,
or
nullif this is the LRU entry
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-