Package org.eclipse.m2m.atl.emftvm.util
Interface TypeMap<K,V>
-
- Type Parameters:
K-V-
- All Superinterfaces:
java.util.Map<K,V>
- All Known Implementing Classes:
TypeHashMap
public interface TypeMap<K,V> extends java.util.Map<K,V>Provides extra functionality for finding supertypes of keys representing types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfindAllKeys(java.lang.Object key, java.util.Set<java.lang.Object> keys)Finds this key, if contained, and any contained supertype keys.java.lang.ObjectfindKey(java.lang.Object key)Finds this key or a supertype key if contained, ornullif neither is not contained.
-
-
-
Method Detail
-
findKey
java.lang.Object findKey(java.lang.Object key)
Finds this key or a supertype key if contained, ornullif neither is not contained.- Parameters:
key- the key to find- Returns:
- this key or a supertype key if contained, or
nullif neither is not contained - See Also:
Map.containsKey(Object)
-
findAllKeys
void findAllKeys(java.lang.Object key, java.util.Set<java.lang.Object> keys)Finds this key, if contained, and any contained supertype keys.- Parameters:
key- the key to findkeys- the collection in which to store the found keys- See Also:
Map.containsKey(Object)
-
-