|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.util.CollectionMap
public abstract class CollectionMap
A map of collections.
Field Summary | |
---|---|
protected java.util.Map |
map
The underlying map. |
Constructor Summary | |
---|---|
CollectionMap()
|
|
CollectionMap(SetMap other)
|
Method Summary | |
---|---|
protected abstract void |
add(java.util.Collection c,
java.lang.Object o)
|
boolean |
contains(java.lang.Object key,
java.lang.Object o)
Return true if the specified set contains the object o. |
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. |
protected abstract java.util.Collection |
newCollection()
|
protected abstract java.util.Collection |
newCollection(java.util.Collection other)
|
void |
put(java.lang.Object key,
java.lang.Object o)
Add an object in the set keyed under the specified key. |
protected abstract void |
remove(java.util.Collection c,
java.lang.Object o)
|
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 |
Field Detail |
---|
protected java.util.Map map
Constructor Detail |
---|
public CollectionMap()
public CollectionMap(SetMap other) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
Method 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.Iterator iterator(java.lang.Object key)
protected abstract void add(java.util.Collection c, java.lang.Object o)
protected abstract void remove(java.util.Collection c, java.lang.Object o)
protected abstract java.util.Collection newCollection()
protected abstract java.util.Collection newCollection(java.util.Collection other)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |