K
V
public class SimpleCache<K,V> extends Object implements Serializable
WeakHashMap
SimpleCache()
void
clear()
get(K key)
get(K key, Func0<V> supplier)
put(K key, V value)
remove(K key)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SimpleCache()
public V get(K key)
key
public V get(K key, Func0<V> supplier)
supplier
public V put(K key, V value)
value
public V remove(K key)
public void clear()
Copyright © 2019. All rights reserved.