| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
key
Hash table key
|
LRUCache.LRUCacheEntry |
next
Next entry in queue
|
LRUCache.LRUCacheEntry |
previous
Previous entry in queue
|
int |
space
Cache footprint of this entry
|
int |
timestamp
Time value for queue sorting
|
java.lang.Object |
value
Hash table value (an LRUCacheEntry object)
|
| Constructor and Description |
|---|
LRUCacheEntry(java.lang.Object key,
java.lang.Object 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 java.lang.Object key
public java.lang.Object value
public int timestamp
public int space
public LRUCache.LRUCacheEntry previous
public LRUCache.LRUCacheEntry next