java.util
Class IdentityHashMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.IdentityHashMap
All Implemented Interfaces:
Cloneable, Map, Serializable

public synchronized class IdentityHashMap
extends AbstractMap
implements Map, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Map
Map.Entry
 
Constructor Summary
IdentityHashMap()
           
IdentityHashMap(int)
           
IdentityHashMap(Map)
           
 
Method Summary
 void clear()
           
 Object clone()
           
 boolean containsKey(Object)
           
 boolean containsValue(Object)
           
 Set entrySet()
           
 boolean equals(Object)
           
 Object get(Object)
           
 int hashCode()
           
 boolean isEmpty()
           
 Set keySet()
           
 Object put(Object, Object)
           
 void putAll(Map)
           
 Object remove(Object)
           
 int size()
           
 Collection values()
           
 
Methods inherited from class java.util.AbstractMap
toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait
 

Constructor Detail

IdentityHashMap

public IdentityHashMap()

IdentityHashMap

public IdentityHashMap(int)

IdentityHashMap

public IdentityHashMap(Map)
Method Detail

size

public int size()
Specified by:
size in interface Map
Overrides:
size in class AbstractMap

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map
Overrides:
isEmpty in class AbstractMap

get

public Object get(Object)
Specified by:
get in interface Map
Overrides:
get in class AbstractMap

containsKey

public boolean containsKey(Object)
Specified by:
containsKey in interface Map
Overrides:
containsKey in class AbstractMap

containsValue

public boolean containsValue(Object)
Specified by:
containsValue in interface Map
Overrides:
containsValue in class AbstractMap

put

public Object put(Object,
                  Object)
Specified by:
put in interface Map
Overrides:
put in class AbstractMap

putAll

public void putAll(Map)
Specified by:
putAll in interface Map
Overrides:
putAll in class AbstractMap

remove

public Object remove(Object)
Specified by:
remove in interface Map
Overrides:
remove in class AbstractMap

clear

public void clear()
Specified by:
clear in interface Map
Overrides:
clear in class AbstractMap

equals

public boolean equals(Object)
Specified by:
equals in interface Map
Overrides:
equals in class AbstractMap

hashCode

public int hashCode()
Specified by:
hashCode in interface Map
Overrides:
hashCode in class AbstractMap

clone

public Object clone()
Overrides:
clone in class AbstractMap

keySet

public Set keySet()
Specified by:
keySet in interface Map
Overrides:
keySet in class AbstractMap

values

public Collection values()
Specified by:
values in interface Map
Overrides:
values in class AbstractMap

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map
Specified by:
entrySet in class AbstractMap