com.ideanest.util
Interface MultiMap

All Known Implementing Classes:
AbstractMultiMap

public interface MultiMap

Insert the type's description here.

Version:
1.0, 2002-02-21
Author:
Piotr Kaminski (piotr@ideanest.com)

Nested Class Summary
static interface MultiMap.Entry
           
 
Method Summary
 boolean add(java.lang.Object key, java.lang.Object value)
           
 boolean addAll(java.util.Map map)
           
 boolean addAll(MultiMap map)
           
 void clear()
           
 boolean contains(java.lang.Object key, java.lang.Object value)
           
 boolean containsKey(java.lang.Object key)
           
 boolean containsValue(java.lang.Object value)
           
 java.util.Set entrySet()
           
 boolean equals(java.lang.Object o)
           
 java.util.Collection get(java.lang.Object key)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Set keySet()
           
 boolean remove(java.lang.Object key)
           
 boolean remove(java.lang.Object key, java.lang.Object value)
           
 int size()
           
 java.util.Collection values()
           
 

Method Detail

add

public boolean add(java.lang.Object key,
                   java.lang.Object value)

addAll

public boolean addAll(MultiMap map)

addAll

public boolean addAll(java.util.Map map)

clear

public void clear()

contains

public boolean contains(java.lang.Object key,
                        java.lang.Object value)

containsKey

public boolean containsKey(java.lang.Object key)

containsValue

public boolean containsValue(java.lang.Object value)

entrySet

public java.util.Set entrySet()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

get

public java.util.Collection get(java.lang.Object key)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isEmpty

public boolean isEmpty()

keySet

public java.util.Set keySet()

remove

public boolean remove(java.lang.Object key)

remove

public boolean remove(java.lang.Object key,
                      java.lang.Object value)

size

public int size()

values

public java.util.Collection values()