K
- the first key of the mapQ
- the second key of the mapV
- the value of the mappublic class DoubleKeyMVMap<K,Q,V>
extends java.lang.Object
Constructor and Description |
---|
DoubleKeyMVMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
MVMap<Q,V> |
get(K k1) |
java.util.List<V> |
get(K k1,
Q k2) |
boolean |
isEmpty() |
java.util.Iterator<V> |
iterator() |
boolean |
put(K k1,
Q k2,
V v)
Null values are allowed
|
boolean |
remove(K k1,
Q k2,
V v)
Removes the first occurrence of the specified element from this MVMap.
|
int |
size() |
V[] |
toArray(V[] v) |
java.lang.String |
toString() |
public void clear()
public MVMap<Q,V> get(K k1)
k1
- the first keypublic java.util.List<V> get(K k1, Q k2)
k1
- the first keyk2
- the second keypublic boolean isEmpty()
public java.util.Iterator<V> iterator()
public boolean put(K k1, Q k2, V v)
k1
- the first keyk2
- the second keyv
- the valuepublic boolean remove(K k1, Q k2, V v)
k1
- the first keyk2
- the second keyv
- the valuepublic int size()
public V[] toArray(V[] v)
v
- the array type to be used for array constructionpublic java.lang.String toString()
toString
in class java.lang.Object