org.apache.cocoon.el.impl.objectmodel
Class UnmodifiableMultiMap
java.lang.Object
org.apache.commons.collections.map.AbstractMapDecorator
org.apache.cocoon.el.impl.objectmodel.UnmodifiableMultiMap
- All Implemented Interfaces:
- IterableMap, Map, MultiMap, Unmodifiable
- public class UnmodifiableMultiMap
- extends AbstractMapDecorator
- implements MultiMap, IterableMap, Unmodifiable
This class brings equally the same functionality as UnmodifiableMap but also implements MultiMap interface.
Use this class to wrap MultiMaps only.
decorate
public static MultiMap decorate(MultiMap map)
values
public Collection values()
- Specified by:
values in interface MultiMap
entrySet
public Set entrySet()
- Specified by:
entrySet in interface Map
keySet
public Set keySet()
- Specified by:
keySet in interface Map
mapIterator
public MapIterator mapIterator()
- Specified by:
mapIterator in interface IterableMap
clear
public void clear()
- Specified by:
clear in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put in interface MultiMap
putAll
public void putAll(Map mapToCopy)
- Specified by:
putAll in interface Map
remove
public Object remove(Object key)
- Specified by:
remove in interface MultiMap
remove
public Object remove(Object key,
Object item)
- Specified by:
remove in interface MultiMap
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.