public class MemCache<K,V> extends Object
MemCache(int maxSize, int lifeTime, boolean accessOrder)
void
clear()
V
get(K key)
put(K key, V value)
remove(K key)
int
size()
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MemCache(int maxSize, int lifeTime, boolean accessOrder)
maxSize
lifeTime
accessOrder
public V get(K key)
key
public V put(K key, V value)
value
public V remove(K key)
public void clear()
public int size()
Copyright © 2020 IBIT程序猿. All rights reserved.