|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.util.SetMap
public class SetMap
A map of set. This object does not handle synchronization and use HashMap and HashSet as underlying data structures;
Constructor Summary | |
---|---|
SetMap()
|
|
SetMap(SetMap other)
Copy constructor. |
Method Summary | |
---|---|
boolean |
contains(java.lang.Object key,
java.lang.Object o)
Return true if the specified set contains the object o. |
java.util.Set |
get(java.lang.Object key)
Return the set specified by the key. |
java.util.Iterator |
iterator(java.lang.Object key)
Return an iterator over the values in the set specified by the key. |
java.util.Set |
keySet()
Return the set of keys. |
void |
put(java.lang.Object key,
java.lang.Object o)
Add an object in the set keyed under the specified key. |
void |
remove(java.lang.Object key)
Remove the entire set of objects specified by the key. |
void |
remove(java.lang.Object key,
java.lang.Object o)
Remove an object in the set keyed under the specified key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetMap()
public SetMap(SetMap other) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if the argument is nullMethod Detail |
---|
public void put(java.lang.Object key, java.lang.Object o)
public java.util.Set keySet()
public void remove(java.lang.Object key)
public void remove(java.lang.Object key, java.lang.Object o)
public boolean contains(java.lang.Object key, java.lang.Object o)
public java.util.Set get(java.lang.Object key)
public java.util.Iterator iterator(java.lang.Object key)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |