Modifier | Constructor and Description |
---|---|
protected |
LRUCacheEntry(K key,
V value)
Creates a new double linked cell, storing the object we
want to cache and the key that is used to retrieve it.
|
Modifier and Type | Method and Description |
---|---|
K |
getKey()
Get key
|
V |
getValue()
Get value
|
void |
reset()
Reset
|
void |
setNext(LRUCache.LRUCacheEntry<K,V> v)
Set next
|
void |
setPrev(LRUCache.LRUCacheEntry<K,V> v)
Set prev
|
java.lang.String |
toString() |
void |
updateTimestamp()
Update timestamp
|
public K getKey()
public V getValue()
public void setNext(LRUCache.LRUCacheEntry<K,V> v)
v
- The valuepublic void setPrev(LRUCache.LRUCacheEntry<K,V> v)
v
- The valuepublic void updateTimestamp()
public void reset()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)