com.mindfusion.common
Class ExtendedHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
com.mindfusion.common.ExtendedHashMap<K,V>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.util.Map.Entry<K,V>>, java.util.Map<K,V>
public class ExtendedHashMap<K,V>
- extends java.util.HashMap<K,V>
- implements java.lang.Iterable<java.util.Map.Entry<K,V>>
Represents a HashMap which provides a tryGetValue method.
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
ExtendedHashMap
public ExtendedHashMap()
ExtendedHashMap
public ExtendedHashMap(int initialCapacity)
ExtendedHashMap
public ExtendedHashMap(int initialCapacity,
float loadFactor)
tryGetValue
public boolean tryGetValue(java.lang.Object key,
ByRef<V> value)
iterator
public java.util.Iterator<java.util.Map.Entry<K,V>> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<java.util.Map.Entry<K,V>>