org.jacorb.util
Class IdentityHashMap
HashMap
org.jacorb.util.IdentityHashMap
public class IdentityHashMap
extends HashMap
A simple implementation of an IdentityHashMap, as it is introduced in
JDK 1.4. This version here is not fully implemented and not particularly
efficient, and serves only as a substitute when running under earlier JDKs.
(In an IdentityHashMap, two keys k1 and k2 are considered equal if and only
if k1 == k2.)
Version:
- Andre Spiegel
containsKey
public boolean containsKey(Object key)
containsValue
public boolean containsValue(Object value)
entrySet
public Set entrySet()
get
public Object get(Object key)
keySet
public Set keySet()
put
public Object put(Object key,
Object value)
putAll
public void putAll(Map m)
remove
public Object remove(Object key)