- All Superinterfaces:
Map<K1,Map<K2,V>>
- All Known Implementing Classes:
SimpleDoubleKeyMap
public interface DoubleKeyMap<K1,K2,V>
extends Map<K1,Map<K2,V>>
-
-
Method Summary
Gets the value in the map associated with the keys.
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Method Details
-
get
Gets the value in the map associated with the keys.
- Parameters:
key1
- the key of the first map
key2
- the key of the second map
- Returns:
- the value or null if not found
-
put
V put(K1 key1,
K2 key2,
V value)
Adds a value to the map.
- Parameters:
key1
- the first key
key2
- the second key
value
- the value to put
- Returns:
- the value