org.apache.commons.collections.map
Class IdentityMap.IdentityEntry<K,V>

java.lang.Object
  extended by org.apache.commons.collections.map.AbstractHashedMap.HashEntry<K,V>
      extended by org.apache.commons.collections.map.IdentityMap.IdentityEntry<K,V>
All Implemented Interfaces:
Map.Entry<K,V>, KeyValue<K,V>
Enclosing class:
IdentityMap<K,V>

protected static class IdentityMap.IdentityEntry<K,V>
extends AbstractHashedMap.HashEntry<K,V>

HashEntry


Field Summary
 
Fields inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashEntry
hashCode, next
 
Constructor Summary
protected IdentityMap.IdentityEntry(AbstractHashedMap.HashEntry<K,V> next, int hashCode, K key, V value)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 
Methods inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashEntry
getKey, getValue, setKey, setValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentityMap.IdentityEntry

protected IdentityMap.IdentityEntry(AbstractHashedMap.HashEntry<K,V> next,
                                    int hashCode,
                                    K key,
                                    V value)
Method Detail

equals

public boolean equals(Object obj)
Specified by:
equals in interface Map.Entry<K,V>
Overrides:
equals in class AbstractHashedMap.HashEntry<K,V>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map.Entry<K,V>
Overrides:
hashCode in class AbstractHashedMap.HashEntry<K,V>


Copyright © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.