| java.lang.Object com.caucho.portal.generic.KeyLinkMap
KeyLinkMap | public class KeyLinkMap implements Map<K, V>(Code) | | A Map that wraps another map and uses different keys in the wrapped
map than the keys that are exposed.
The constructor is passed the map to be wrapped, and a keyLinkMap
that maps keys as they are used by users of the map to different keys that
are really used in the wrapped map. If a key is used that is not int the
keyLinkMap, the key is used unchanged in the wrapped map.
|
Field Summary | |
final protected static Logger | log |
Constructor Summary | |
public | KeyLinkMap(Map<K, V> map, Map<K, K> keyLinkMap, Map<K, K> keyLinkReverseMap) |
KeyLinkMap | public KeyLinkMap(Map<K, V> map, Map<K, K> keyLinkMap, Map<K, K> keyLinkReverseMap)(Code) | | |
clear | public void clear()(Code) | | |
getReverseKeyLinkMap | public static Map<K, K> getReverseKeyLinkMap(Map<K, K> keyLinkMap)(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
put | public V put(K key, V value)(Code) | | |
putAll | public void putAll(Map<? extends K, ? extends V> srcMap)(Code) | | |
|
|