org.hibernate.internal.util.collections
Class IdentityMap.IdentityKey<K>
java.lang.Object
org.hibernate.internal.util.collections.IdentityMap.IdentityKey<K>
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- IdentityMap<K,V>
public static final class IdentityMap.IdentityKey<K>
- extends Object
- implements Serializable
We need to base the identity on System.identityHashCode(Object)
but
attempt to lazily initialize and cache this value: being a native invocation
it is an expensive value to retrieve.
- See Also:
- Serialized Form
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getRealKey
public K getRealKey()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.