Class IdentityHolder<V>

java.lang.Object
com.oracle.coherence.common.base.SimpleHolder<V>
com.oracle.coherence.common.base.IdentityHolder<V>
All Implemented Interfaces:
Holder<V>, Serializable

public class IdentityHolder<V> extends SimpleHolder<V>
A Holder implementation which additionally provides an equals/hashCode implementation based on the held object's identity.
Author:
mf 2017.03.27
See Also:
  • Constructor Details

    • IdentityHolder

      public IdentityHolder()
      Construct an IdentityHolder holding nothing.
    • IdentityHolder

      public IdentityHolder(V v)
      Construct an IdentityHolder holding the specified object.
      Parameters:
      v - the object to hold
  • Method Details