public class SoftHashMap<K,V>
extends java.util.AbstractMap<K,V>
| Modifier and Type | Field | Description |
|---|---|---|
static int |
DEFAULT_LIMIT |
| Constructor | Description |
|---|---|
SoftHashMap() |
|
SoftHashMap(int hardSize) |
| Modifier and Type | Method | 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() |
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, toString, valuespublic static final int DEFAULT_LIMIT