com.indexdata.torus2.util
Class LRUCache<K,V>

java.lang.Object
  extended by com.indexdata.torus2.util.LRUCache<K,V>

public class LRUCache<K,V>
extends Object

Author:
jakub

Constructor Summary
LRUCache(int cacheSize)
           
 
Method Summary
 V get(K key)
           
 void put(K key, V value)
           
 V remove(K key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LRUCache

public LRUCache(int cacheSize)
Method Detail

get

public V get(K key)

put

public void put(K key,
                V value)

remove

public V remove(K key)


Copyright © 2008-2013 Index Data. All Rights Reserved.