org.aitools.programd.util
Class LRUCache.CacheItem<K_,V_>

java.lang.Object
  extended by org.aitools.programd.util.LRUCache.CacheItem<K_,V_>
Type Parameters:
K_ - the key
V_ - the value
Enclosing class:
LRUCache<K,V>

static class LRUCache.CacheItem<K_,V_>
extends java.lang.Object

A cache item


Field Summary
(package private)  int _index
           
(package private)  boolean _isOnce
           
(package private)  K_ _key
           
(package private)  LRUCache.CacheItem<K_,V_> _next
           
(package private)  LRUCache.CacheItem<K_,V_> _prev
           
(package private)  V_ _value
           
 
Constructor Summary
LRUCache.CacheItem(K_ key, V_ value)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_prev

LRUCache.CacheItem<K_,V_> _prev

_next

LRUCache.CacheItem<K_,V_> _next

_key

K_ _key

_value

V_ _value

_index

int _index

_isOnce

boolean _isOnce
Constructor Detail

LRUCache.CacheItem

LRUCache.CacheItem(K_ key,
                   V_ value)