public final class NullValue
extends java.lang.Object
implements java.io.Serializable
null
replacement
for cache stores which otherwise do not support null
values.AbstractValueAdaptingCache
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.Object |
INSTANCE
The canonical representation of a
null replacement, as used by the
default implementation of AbstractValueAdaptingCache.toStoreValue(java.lang.Object) /
AbstractValueAdaptingCache.fromStoreValue(java.lang.Object) . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public static final java.lang.Object INSTANCE
null
replacement, as used by the
default implementation of AbstractValueAdaptingCache.toStoreValue(java.lang.Object)
/
AbstractValueAdaptingCache.fromStoreValue(java.lang.Object)
.public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object