Class Overview
A cached option for no value. This is used when the factory does not find the value to cache and
the missing value needs to be cached.
The #readResolve() method has been implemented to return the singleton instance so the
equals(Object)
and hashCode()
methods behave as expected for objects that have propagated
over the distributed cache.
Summary
Public Constructors |
|
None()
|
Fields
public
static
final
None<?>
INSTANCE
Public Constructors
Public Methods
public
T
getOrElse
(T otherwise)