Modifier and Type | Field and Description |
---|---|
K |
key
The key of this entry (never
null ). |
V |
value
The value of this entry (never
null ). |
Constructor and Description |
---|
Entry(K key,
V value)
Constructs a cache entry with the given key and value.
|
Modifier and Type | Method and Description |
---|---|
LruCache.Entry<K,V> |
next()
Returns the cache entry that immediately follows this entry,
or
null if this is the LRU entry. |
LruCache.Entry<K,V> |
prev()
Returns the cache entry that is immediately followed by this entry,
or
null if this is the MRU entry. |
java.lang.String |
toString() |
public final K key
null
).public V value
null
).public final LruCache.Entry<K,V> prev()
null
if this is the MRU entry.null
if this is the MRU entrypublic final LruCache.Entry<K,V> next()
null
if this is the LRU entry.null
if this is the LRU entrypublic java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0