public class SoftHashMap<K,V>
extends java.util.AbstractMap<K,V>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_LIMIT |
Constructor and Description |
---|
SoftHashMap() |
SoftHashMap(int hardSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
V |
put(K key,
V value)
Here we put the key, value pair into the HashMap using a SoftValue
object.
|
V |
remove(java.lang.Object key) |
int |
size() |
public static final int DEFAULT_LIMIT