Package aQute.lib.collections
Class DoubleKeyMap<K1,K2,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K1,java.util.Map<K2,V>>
-
- aQute.lib.collections.DoubleKeyMap<K1,K2,V>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<K1,java.util.Map<K2,V>>
public class DoubleKeyMap<K1,K2,V> extends java.util.HashMap<K1,java.util.Map<K2,V>> implements java.util.Map<K1,java.util.Map<K2,V>>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleKeyMap()
DoubleKeyMap(DoubleKeyMap<K1,K2,V> other)
DoubleKeyMap(java.lang.Class<K1> k1Class, java.lang.Class<K2> k2Class, java.lang.Class<V> valueClass)
DoubleKeyMap(java.util.Map<K1,java.util.Map<K2,V>> other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<V>
all()
boolean
containsKeys(K1 key1, K2 key2)
V
get(K1 key1, K2 key2)
java.util.Iterator<java.util.Map.Entry<K2,V>>
iterate(K1 key)
V
put(K1 key1, K2 key2, V value)
void
putAll(K1 key1, java.util.Map<K2,V> map)
V
removeKey(K1 key1, K2 key2)
boolean
removeValue(K1 key1, K2 key2, V value)
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-