net.cscott.jutil
public class MapWrapper<K,V> extends Object implements Map<K,V>
MapWrapper
is a class that acts as a proxy for
another backing map, to allow for easy extension of
Map
functionality while not restricting developers to
one particular Map
implementation.Version: $Id: MapWrapper.java,v 1.2 2004/01/13 20:47:05 cananian Exp $
Constructor Summary | |
---|---|
MapWrapper(Map<K,V> map) |
Method Summary | |
---|---|
void | clear() |
boolean | containsKey(Object o) |
boolean | containsValue(Object o) |
Set<Entry<K,V>> | entrySet() |
boolean | equals(Object o) |
V | get(Object o) |
int | hashCode() |
boolean | isEmpty() |
Set<K> | keySet() |
V | put(K k, V v) |
void | putAll(Map<? extends K,? extends V> m) |
V | remove(Object o) |
int | size() |
String | toString() |
Collection<V> | values() |