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, ornull
if this is the LRU entry.LruCache.Entry<K,V>
prev()
Returns the cache entry that is immediately followed by this entry, ornull
if this is the MRU entry.java.lang.String
toString()
-
-
-
Method Detail
-
prev
public final LruCache.Entry<K,V> prev()
Returns the cache entry that is immediately followed by this entry, ornull
if this is the MRU entry.- Returns:
- the cache entry that is immediately followed by this entry,
or
null
if this is the MRU entry
-
next
public final LruCache.Entry<K,V> next()
Returns the cache entry that immediately follows this entry, ornull
if this is the LRU entry.- Returns:
- the cache entry that immediately follows this entry,
or
null
if this is the LRU entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-