|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectDoubleKeyToSetMap<K1,K2,V>
public final class DoubleKeyToSetMap<K1,K2,V> extends Object
Map indexed with 2 keys.
| Constructor and Description |
|---|
DoubleKeyToSetMap()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(K1 k1,
K2 k2,
V v)
Returns true if the doubly-nested set did not contain v. |
boolean |
addAll(K1 k1,
K2 k2,
Set<V> vs)
Returns true if the doubly-nested set did not contain all of the vs. |
void |
clear()
|
boolean |
containsKeys(K1 k1,
K2 k2)
|
Set<V> |
get(K1 k1,
K2 k2)
|
Set<V> |
getAllVs()
|
Set<K1> |
getK1Set()
|
Set<K2> |
getK2Set(K1 k1)
|
boolean |
remove(K1 k1,
K2 k2,
V v)
Returns true if the doubly-nested set contained v. |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleKeyToSetMap()
| Method Detail |
|---|
public Set<K1> getK1Set()
public Set<K2> getK2Set(K1 k1)
public boolean containsKeys(K1 k1,
K2 k2)
public Set<V> get(K1 k1,
K2 k2)
public boolean add(K1 k1,
K2 k2,
V v)
public boolean remove(K1 k1,
K2 k2,
V v)
public boolean addAll(K1 k1,
K2 k2,
Set<V> vs)
public String toString()
toString in class Objectpublic void clear()
public Set<V> getAllVs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||