Option.none()
@Deprecated public class None<T> extends Object implements Option<T>
readResolve()
method has been implemented to return the singleton instance so the
Object.equals(Object)
and Object.hashCode()
methods behave as expected for objects that have propagated
over the distributed cache.Option.Builder
Constructor and Description |
---|
None()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Deprecated.
|
T |
getOrElse(T otherwise)
Deprecated.
|
public static final None<?> INSTANCE
Copyright © 2003–2015 Atlassian. All rights reserved.