org.apache.commons.collections.map

Class IdentityMap.IdentityEntry

Enclosing Class:
IdentityMap
Implemented Interfaces:
Map.Entry, KeyValue

protected static class IdentityMap.IdentityEntry
extends AbstractHashedMap.HashEntry

HashEntry

Field Summary

Fields inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashEntry

hashCode, key, next, value

Constructor Summary

IdentityEntry(AbstractHashedMap.HashEntry next, int hashCode, Object key, Object value)

Method Summary

boolean
equals(Object obj)
int
hashCode()

Methods inherited from class org.apache.commons.collections.map.AbstractHashedMap.HashEntry

equals, getKey, getValue, hashCode, setValue, toString

Constructor Details

IdentityEntry

protected IdentityEntry(AbstractHashedMap.HashEntry next,
                        int hashCode,
                        Object key,
                        Object value)

Method Details

equals

public boolean equals(Object obj)
Overrides:
equals in interface AbstractHashedMap.HashEntry

hashCode

public int hashCode()
Overrides:
hashCode in interface AbstractHashedMap.HashEntry

Copyright © 2001-2006 Apache Software Foundation. All Rights Reserved.