com.ideanest.util
Class WrapperMultiMap
java.lang.Object
|
+--com.ideanest.util.AbstractMultiMap
|
+--com.ideanest.util.CollectionValuedMultiMap
|
+--com.ideanest.util.WrapperMultiMap
- All Implemented Interfaces:
- MultiMap, java.io.Serializable
- Direct Known Subclasses:
- CountingBagMultiMap
- public class WrapperMultiMap
- extends CollectionValuedMultiMap
Insert the type's description here.
- Version:
- 1.1, 2002-03-10
- Author:
- Piotr Kaminski (piotr@ideanest.com)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
WrapperMultiMap
public WrapperMultiMap()
WrapperMultiMap
public WrapperMultiMap(CollectionValuedMultiMap.CollectionFactory collectionFactory)
WrapperMultiMap
public WrapperMultiMap(java.util.Collection valuesPrototype)
WrapperMultiMap
public WrapperMultiMap(java.util.Map base)
WrapperMultiMap
public WrapperMultiMap(java.util.Map base,
CollectionValuedMultiMap.CollectionFactory collectionFactory)
WrapperMultiMap
public WrapperMultiMap(java.util.Map base,
java.util.Collection valuesPrototype)
add
public boolean add(java.lang.Object key,
java.lang.Object value)
- Specified by:
add in interface MultiMap - Overrides:
add in class AbstractMultiMap
clear
public void clear()
- Specified by:
clear in interface MultiMap - Overrides:
clear in class AbstractMultiMap
entrySet
public java.util.Set entrySet()
get
public java.util.Collection get(java.lang.Object key)
getDeleteEmptyKeys
public boolean getDeleteEmptyKeys()
keySet
public java.util.Set keySet()
remove
public boolean remove(java.lang.Object key)
- Specified by:
remove in interface MultiMap - Overrides:
remove in class AbstractMultiMap
remove
public boolean remove(java.lang.Object key,
java.lang.Object value)
- Specified by:
remove in interface MultiMap - Overrides:
remove in class AbstractMultiMap
setDeleteEmptyKeys
public void setDeleteEmptyKeys(boolean flag)
size
public int size()
- Specified by:
size in interface MultiMap - Overrides:
size in class AbstractMultiMap
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractMultiMap
|