|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.korelstar.util.MapSet
public class MapSet
Tool to manage a Map which values are Sets
| Constructor Summary | |
|---|---|
MapSet()
|
|
| Method Summary | |
|---|---|
boolean |
add(java.lang.Object key,
java.lang.Object value)
Adds an Object to the Map |
boolean |
containsKey(java.lang.Object key)
Checks, if a key has associated values |
boolean |
equals(java.lang.Object o)
|
java.util.Set |
get(java.lang.Object key)
Gets all edges with a certain key |
int |
hashCode()
|
void |
remove(java.lang.Object key,
java.lang.Object value)
Removes an edge with the specified key |
java.lang.String |
toString()
|
java.util.Set |
values()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapSet()
| Method Detail |
|---|
public boolean add(java.lang.Object key,
java.lang.Object value)
key - the key, which is used to access the valuevalue - the valuepublic java.util.Set get(java.lang.Object key)
key - Nodepublic boolean containsKey(java.lang.Object key)
key - the key
public void remove(java.lang.Object key,
java.lang.Object value)
key - Keypublic java.util.Set values()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||