| Modifier and Type | Field and Description |
|---|---|
K |
key
Hash table key
|
LRUCache.LRUCacheEntry<K,V> |
next
Next entry in queue
|
LRUCache.LRUCacheEntry<K,V> |
previous
Previous entry in queue
|
int |
space
Cache footprint of this entry
|
int |
timestamp
Time value for queue sorting
|
V |
value
Hash table value (an LRUCacheEntry object)
|
| Constructor and Description |
|---|
LRUCacheEntry(K key,
V value,
int space)
Creates a new instance of the receiver with the provided values
for key, value, and space.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Returns a String that represents the value of this object.
|
public K key
public V value
public int timestamp
public int space
public LRUCache.LRUCacheEntry<K,V> previous
public LRUCache.LRUCacheEntry<K,V> next