Option.none()
@Deprecated public class None<T> extends Object implements Option<T>
The 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toFugueOption, toOptional
public static final None<?> INSTANCE
Copyright © 2003–2017 Atlassian. All rights reserved.