junitx.ddtunit.util
Class SoftHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
junitx.ddtunit.util.SoftHashMap<K,V>
- All Implemented Interfaces:
- Map<K,V>
public class SoftHashMap<K,V>
- extends AbstractMap<K,V>
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class java.util.AbstractMap |
clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, putAll, toString, values |
SoftHashMap
public SoftHashMap()
SoftHashMap
public SoftHashMap(int initialCapacity)
SoftHashMap
public SoftHashMap(int initialCapacity,
float loadFactor)
get
public Object get(String key)
put
public V put(K key,
V value)
- Specified by:
put in interface Map<K,V>- Overrides:
put in class AbstractMap<K,V>
entrySet
public Set entrySet()
- Specified by:
entrySet in interface Map<K,V>- Specified by:
entrySet in class AbstractMap<K,V>
size
public int size()
- Specified by:
size in interface Map<K,V>- Overrides:
size in class AbstractMap<K,V>
remove
public V remove(Object key)
- Specified by:
remove in interface Map<K,V>- Overrides:
remove in class AbstractMap<K,V>
clear
public void clear()
- Specified by:
clear in interface Map<K,V>- Overrides:
clear in class AbstractMap<K,V>
Copyright © 2004-2011. All Rights Reserved.