public class VectorMap<K1,K2,V> extends HashMap<K1,HashMap<K2,V>>
VectorMap class.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
VectorMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(K1 k1,
K2 k2)
containsKey.
|
HashMap<K2,V> |
get(K1 k1,
boolean create)
get.
|
V |
get(K1 k1,
K2 k2)
get.
|
V |
put(K1 k1,
K2 k2,
V v)
put.
|
V |
removeValue(K1 k1,
K2 k2)
removeValue.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic V get(K1 k1, K2 k2)
get.
k1 - a K1 object.k2 - a K2 object.public HashMap<K2,V> get(K1 k1, boolean create)
get.
k1 - a K1 object.create - a boolean.HashMap object.public V removeValue(K1 k1, K2 k2)
removeValue.
k1 - a K1 object.k2 - a K2 object.public boolean containsKey(K1 k1, K2 k2)
containsKey.
k1 - a K1 object.k2 - a K2 object.Copyright © 2016. All Rights Reserved.