|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.internal.core.util.LRUCache.LRUCacheEntry
protected static class LRUCache.LRUCacheEntry
This type is used internally by the LRUCache to represent entries stored in the cache. It is static because it does not require a pointer to the cache which contains it.
LRUCache| Field Summary | |
|---|---|
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 Summary | |
|---|---|
LRUCache.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. |
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Returns a String that represents the value of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.Object key
public java.lang.Object value
public int timestamp
public int space
public LRUCache.LRUCacheEntry previous
public LRUCache.LRUCacheEntry next
| Constructor Detail |
|---|
public LRUCache.LRUCacheEntry(java.lang.Object key,
java.lang.Object value,
int space)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||