K1
- first key typeK2
- second key typeV
- value typepublic interface BinaryKeyMap<K1,K2,V> extends Map<BinaryKey<K1,K2>,V>
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K1 key1,
K2 key2)
Return true if this map contains a binary key of {
key1, key2 }. |
V |
get(K1 key1,
K2 key2)
Return the value mapped to a binary key of {
key1, key2 }, if any. |
V |
put(K1 key1,
K2 key2,
V value)
Map a binary key of {
key1, key2 } to the specified value (optional
operation). |
V |
removeKey(K1 key1,
K2 key2)
Remove the mapping for a binary key of {
key1, key2 } from this map
if one exists (optional operation). |
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
boolean containsKey(K1 key1, K2 key2)
key1, key2
}.key1
- first keykey2
- second keykey1, key2
}V get(K1 key1, K2 key2)
key1, key2
}, if any.key1
- first keykey2
- second keykey1, key2
}, or
null
if no such mapping existsV removeKey(K1 key1, K2 key2)
key1, key2
} from this map
if one exists (optional operation).key1
- first keykey2
- second keykey1, key2
},
or null
if no such mapping existsUnsupportedOperationException
- if the remove operation is not supported by this mapV put(K1 key1, K2 key2, V value)
key1, key2
} to the specified value (optional
operation).key1
- first keykey2
- second keyvalue
- valuekey1, key2
},
or null
if no such mapping existsUnsupportedOperationException
- if the put operation is not supported by this mapCopyright (c) 2007-2016 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).