K - The type of keys in the map.V - The type of values in the map.public class SoftMap<K,V>
extends java.lang.Object
implements java.util.Map<K,V>
| Constructor and Description |
|---|
SoftMap()
Construct a new, empty map.
|
SoftMap(java.util.Map<? extends K,? extends V> m)
Constructs a new SoftMap with the same mappings as the specified map.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object o) |
boolean |
containsValue(java.lang.Object o) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
boolean |
equals(java.lang.Object o) |
V |
get(java.lang.Object o) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> m) |
V |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<V> |
values() |
public boolean containsKey(java.lang.Object o)
public boolean containsValue(java.lang.Object o)
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String toString()
toString in class java.lang.Object