|
Oculus Layout System API Documentation November 25, 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.oculustech.layout.MultiMap
Represents a map between keys and sets of values (as opposed to single values). Backed by a HashMap.
Constructor Summary | |
MultiMap()
|
Method Summary | |
void |
clear()
Removes all mappings from this map (optional operation). |
boolean |
containsKey(java.lang.Object key)
Returns true if this map contains a mapping for the specified key. |
boolean |
equals(java.lang.Object o)
Compares the specified object with this map for equality. |
java.util.Set |
get(java.lang.Object key)
Returns the value to which this map maps the specified key. |
boolean |
isEmpty()
Returns true if this map contains no key-value mappings. |
java.util.Set |
keySet()
Returns a set view of the keys contained in this map. |
void |
put(java.lang.Object key,
java.lang.Object value)
Associates the specified value with the specified key in this map (optional operation). |
void |
putAll(MultiMap m)
Puts all mappings from given MultiMap into this MultiMap |
java.util.Set |
remove(java.lang.Object key)
Removes the mapping for this key from this map if present (optional operation). |
boolean |
remove(java.lang.Object key,
java.lang.Object value)
Removes the mapping for this key/value pair from this map if present. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiMap()
Method Detail |
public void clear()
public boolean containsKey(java.lang.Object key)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.util.Set get(java.lang.Object key)
public boolean isEmpty()
public java.util.Set keySet()
public void put(java.lang.Object key, java.lang.Object value)
public java.util.Set remove(java.lang.Object key)
public boolean remove(java.lang.Object key, java.lang.Object value)
public void putAll(MultiMap m)
|
Oculus Layout System API Documentation November 25, 2002 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |