com.ideanest.util
Class AbstractMultiMap
java.lang.Object
|
+--com.ideanest.util.AbstractMultiMap
- All Implemented Interfaces:
- MultiMap, java.io.Serializable
- Direct Known Subclasses:
- CollectionValuedMultiMap
- public abstract class AbstractMultiMap
- extends java.lang.Object
- implements MultiMap, java.io.Serializable
- 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 |
AbstractMultiMap
public AbstractMultiMap()
- AbstractMultiMap constructor comment.
add
public boolean add(java.lang.Object key,
java.lang.Object value)
- Specified by:
add in interface MultiMap
addAll
public boolean addAll(MultiMap map)
- Specified by:
addAll in interface MultiMap
addAll
public boolean addAll(java.util.Map map)
- Specified by:
addAll in interface MultiMap
clear
public void clear()
- Specified by:
clear in interface MultiMap
contains
public boolean contains(java.lang.Object key,
java.lang.Object value)
- Specified by:
contains in interface MultiMap
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey in interface MultiMap
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue in interface MultiMap
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals in interface MultiMap - Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface MultiMap - Overrides:
hashCode in class java.lang.Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface MultiMap
remove
public boolean remove(java.lang.Object key)
- Specified by:
remove in interface MultiMap
remove
public boolean remove(java.lang.Object key,
java.lang.Object value)
- Specified by:
remove in interface MultiMap
size
public int size()
- Specified by:
size in interface MultiMap
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
values
public java.util.Collection values()
- Specified by:
values in interface MultiMap
|