org.apache.commons.collections
Interface MultiMap

All Known Implementing Classes:
MultiHashMap

public interface MultiMap
extends Map

This is simply a Map with slightly different semantics. Instead of returning an Object, it returns a Collection. So for example, you can put( key, new Integer(1) ); and then a Object get( key ); will return you a Collection instead of an Integer. Thus, this is simply a tag interface.

Since:
2.0
Author:
Christopher Berry, James Strachan

Inner classes inherited from class java.util.Map
Map.Entry
 
Method Summary
 Object remove(Object key, Object item)
           
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

remove

public Object remove(Object key,
                     Object item)


Copyright © 2001-2002 Apache Software Foundation. Documenation generated October 21 2002.