Klasse LRUCache.LRUCacheEntry<K,V>

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.LRUCache.LRUCacheEntry<K,V>
Umschließende Klasse:
LRUCache<K,V>

public static class LRUCache.LRUCacheEntry<K,V> extends Object
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.
Siehe auch:
  • Felddetails

    • key

      public K key
      Hash table key
    • value

      public V value
      Hash table value (an LRUCacheEntry object)
    • timestamp

      public int timestamp
      Time value for queue sorting
    • space

      public int space
      Cache footprint of this entry
    • previous

      public LRUCache.LRUCacheEntry<K,V> previous
      Previous entry in queue
    • next

      public LRUCache.LRUCacheEntry<K,V> next
      Next entry in queue
  • Konstruktordetails

    • LRUCacheEntry

      public LRUCacheEntry(K key, V value, int space)
      Creates a new instance of the receiver with the provided values for key, value, and space.
  • Methodendetails

    • toString

      public String toString()
      Returns a String that represents the value of this object.
      Setzt außer Kraft:
      toString in Klasse Object