com.bstek.dorado.util.proxy
public abstract class MapProxySupport<K,V> extends java.lang.Object implements java.util.Map<K,V>
Map
代理的抽象支持类。Modifier and Type | Field and Description |
---|---|
protected java.util.Map<K,V> |
target
target
|
Constructor and Description |
---|
MapProxySupport(java.util.Map<K,V> target) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
boolean |
equals(java.lang.Object o) |
V |
get(java.lang.Object key) |
java.util.Map<K,V> |
getTarget()
返回被代理的
Map 对象。 |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> t) |
V |
remove(java.lang.Object key) |
int |
size() |
java.util.Collection<V> |
values() |
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public boolean equals(java.lang.Object o)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.