rewrite-impl-servlet 2.0.0.Alpha2

org.ocpsoft.rewrite.servlet.util
Class CompositeMap<KEYTYPE,VALUETYPE>

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
CompositeMap()
           
 
Method Summary
 CompositeMap<KEYTYPE,VALUETYPE> addDelegate(Map<KEYTYPE,VALUETYPE> delegate)
           
 void clear()
           
 Object clone()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<KEYTYPE,VALUETYPE>> entrySet()
           
 VALUETYPE get(Object key)
           
 boolean isEmpty()
           
 Set<KEYTYPE> keySet()
           
 VALUETYPE put(KEYTYPE key, VALUETYPE value)
           
 void putAll(Map<? extends KEYTYPE,? extends VALUETYPE> map)
           
 VALUETYPE remove(Object key)
           
 int size()
           
 Collection<VALUETYPE> values()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CompositeMap

public CompositeMap()
Method Detail

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>

rewrite-impl-servlet 2.0.0.Alpha2

Copyright © 2012 OCPsoft. All Rights Reserved.