spring-framework / org.springframework.cache.support / NullValue

NullValue

class NullValue : Serializable

Simple serializable class that serves as a null replacement for cache stores which otherwise do not support null values.

Author
Juergen Hoeller

Since
4.2.2

See Also
AbstractValueAdaptingCache

Properties

INSTANCE

static val INSTANCE: Any

The canonical representation of a null replacement, as used by the default implementation of AbstractValueAdaptingCache#toStoreValue/ AbstractValueAdaptingCache#fromStoreValue.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String