public class ObjectIdentityKey extends Object
Java itself only provides the IdentityHashMap
class. When for example a
ConcurrentHashMap
needs to be used,instead and the key object equals implementation
isn't using object identity comparison, then this class can be used to wrap the key objects to enforce this.
Constructor and Description |
---|
ObjectIdentityKey(Object object) |
Copyright © 2012–2025 Bloomreach. All rights reserved.