org.apache.commons.collections

Interface MultiMap

All Superinterfaces:
Map
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.
Authors:
Christopher Berry
James Strachan
Since:
2.0

Method Summary

Object
remove(Object key, Object item)

Method Details

remove

public Object remove(Object key,
                     Object item)

Copyright © 2001-2004 Apache Software Foundation. Documenation generated ${TODAY}.