Package org.eclipse.m2m.atl.emftvm.util
Class TypeHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
org.eclipse.m2m.atl.emftvm.util.TypeHashMap<K,V>
- Type Parameters:
K-V-
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,,V> TypeMap<K,V>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
TypeHashMap
public TypeHashMap()
-
-
Method Details
-
findKey
Finds this key or a supertype key if contained, ornullif neither is not contained. -
findAllKeys
Finds this key, if contained, and any contained supertype keys.- Specified by:
findAllKeysin interfaceTypeMap<K,V> - Parameters:
key- the key to findkeys- the collection in which to store the found keys- See Also:
-
put
-