Package com.oracle.coherence.common.base
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
A Holder implementation which additionally provides an equals/hashCode implementation based on the held
object's identity.
- Author:
- mf 2017.03.27
- See Also:
-
Field Summary
Fields inherited from class com.oracle.coherence.common.base.SimpleHolder
m_value
-
Constructor Summary
ConstructorDescriptionConstruct an IdentityHolder holding nothing.IdentityHolder
(V v) Construct an IdentityHolder holding the specified object. -
Method Summary
Methods inherited from class com.oracle.coherence.common.base.SimpleHolder
get, set
-
Constructor Details
-
IdentityHolder
public IdentityHolder()Construct an IdentityHolder holding nothing. -
IdentityHolder
Construct an IdentityHolder holding the specified object.- Parameters:
v
- the object to hold
-
-
Method Details