org.apache.commons.collections
Interface MultiMap
- All Superinterfaces:
- Map
- 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
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
remove
public Object remove(Object key,
Object item)
Copyright © 2001-2002 Apache Software Foundation. Documenation generated February 22 2003.