public class DoubleKeyValueMap<K1,K2,V>
extends java.lang.Object
| Constructor and Description |
|---|
DoubleKeyValueMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
清除所有数据
|
boolean |
containsKey(K1 key1) |
boolean |
containsKey(K1 key1,
K2 key2) |
java.util.concurrent.ConcurrentHashMap<K2,V> |
get(K1 key1) |
V |
get(K1 key1,
K2 key2) |
java.util.Collection<V> |
getAllValues()
获取所有value值
|
java.util.Collection<V> |
getAllValues(K1 key1)
获取第一个键值为key1的所有value值
|
java.util.Set<K1> |
getFirstKeys()
获取所有第一个键值的集合
|
void |
put(K1 key1,
K2 key2,
V value)
存放数据
|
void |
remove(K1 key1)
清除第一个键值为key1的所有内容
|
void |
remove(K1 key1,
K2 key2)
清除第一个键值为key1,第二个键值为key2的内容
|
int |
size()
所有Value的大小
|
public java.util.Set<K1> getFirstKeys()
public java.util.Collection<V> getAllValues()
public boolean containsKey(K1 key1)
public int size()
public void remove(K1 key1)
key1 - public void clear()