Class LRUCache.LRUCacheEntry<K,V>
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache.LRUCacheEntry<K,V>
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.
- See Also:
LRUCache
-
Field Summary
Modifier and TypeFieldDescriptionHash table keyNext entry in queuePrevious entry in queueint
Cache footprint of this entryint
Time value for queue sortingHash table value (an LRUCacheEntry object) -
Constructor Summary
ConstructorDescriptionLRUCacheEntry(K key, V value, int space)
Creates a new instance of the receiver with the provided values for key, value, and space. -
Method Summary
-
Field Details
-
key
Hash table key -
value
Hash table value (an LRUCacheEntry object) -
timestamp
public int timestampTime value for queue sorting -
space
public int spaceCache footprint of this entry -
previous
Previous entry in queue -
next
Next entry in queue
-
-
Constructor Details
-
LRUCacheEntry
Creates a new instance of the receiver with the provided values for key, value, and space.
-
-
Method Details