public class SoftValueCache<K,V> extends RefCache<K,V>
WeakValueCache
Constructor and Description |
---|
SoftValueCache(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
copyEntriesInto(Collection<? super Map.Entry<K,V>> c) |
void |
copyKeysInto(Collection<? super K> c) |
void |
copyValuesInto(Collection<? super V> c) |
V |
get(K key) |
V |
put(K key,
V value) |
V |
remove(K key) |
String |
toString() |
isEmpty, keyEquals, keyHashCode, putIfAbsent, remove, replace, replace, size
public void clear()
public void copyKeysInto(Collection<? super K> c)
public void copyValuesInto(Collection<? super V> c)
public void copyEntriesInto(Collection<? super Map.Entry<K,V>> c)
Copyright © 2004-2015 Cojen. All Rights Reserved.