Put the given value into this DoubleKeyMap for the given keys. If this DoubleKeyMap already contained a mapping for the given keys, the previous value is returned. Otherwise, null is returned. @param key1 The primary key for storing the given value @param key2 The secondary ke
(K1 key1, K2 key2, V value)
| 180 | * given keys did not previously have a mapping |
| 181 | */ |
| 182 | public V put(K1 key1, K2 key2, V value) |
| 183 | { |
| 184 | return map.computeIfAbsent(key1, k -> createLocalMap()).put(key2, value); |
| 185 | } |
| 186 | |
| 187 | /** |
| 188 | * Copies the key/value combinations from the given DoubleKeyMap into this |