org.ocpsoft.rewrite.servlet.util
Class CompositeMap<KEYTYPE,VALUETYPE>
java.lang.Object
org.ocpsoft.rewrite.servlet.util.CompositeMap<KEYTYPE,VALUETYPE>
- All Implemented Interfaces:
- Map<KEYTYPE,VALUETYPE>
public class CompositeMap<KEYTYPE,VALUETYPE>
- extends Object
- implements Map<KEYTYPE,VALUETYPE>
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
CompositeMap
public CompositeMap()
addDelegate
public CompositeMap<KEYTYPE,VALUETYPE> addDelegate(Map<KEYTYPE,VALUETYPE> delegate)
clear
public void clear()
- Specified by:
clear in interface Map<KEYTYPE,VALUETYPE>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey in interface Map<KEYTYPE,VALUETYPE>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue in interface Map<KEYTYPE,VALUETYPE>
entrySet
public Set<Map.Entry<KEYTYPE,VALUETYPE>> entrySet()
- Specified by:
entrySet in interface Map<KEYTYPE,VALUETYPE>
get
public VALUETYPE get(Object key)
- Specified by:
get in interface Map<KEYTYPE,VALUETYPE>
clone
public Object clone()
- Overrides:
clone in class Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<KEYTYPE,VALUETYPE>
keySet
public Set<KEYTYPE> keySet()
- Specified by:
keySet in interface Map<KEYTYPE,VALUETYPE>
put
public VALUETYPE put(KEYTYPE key,
VALUETYPE value)
- Specified by:
put in interface Map<KEYTYPE,VALUETYPE>
putAll
public void putAll(Map<? extends KEYTYPE,? extends VALUETYPE> map)
- Specified by:
putAll in interface Map<KEYTYPE,VALUETYPE>
remove
public VALUETYPE remove(Object key)
- Specified by:
remove in interface Map<KEYTYPE,VALUETYPE>
size
public int size()
- Specified by:
size in interface Map<KEYTYPE,VALUETYPE>
values
public Collection<VALUETYPE> values()
- Specified by:
values in interface Map<KEYTYPE,VALUETYPE>
Copyright © 2013 OCPsoft. All Rights Reserved.