Option
for serializable entries (remote or persistent) or Optional
for non-serializable (local and in memory).@Deprecated public interface Option<T> extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
Option.Builder
Deprecated.
Builds an appropriate instance of Option.
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Deprecated.
|
T |
getOrElse(T otherwise)
Deprecated.
|
default com.atlassian.fugue.Option<T> |
toFugueOption()
Deprecated.
Convert this instance to an equivalent Fugue
Option |
default Optional<T> |
toOptional()
Deprecated.
Converts this instance to an equivalent
Optional |
boolean exists()
default com.atlassian.fugue.Option<T> toFugueOption()
Option
Copyright © 2003–2020 Atlassian. All rights reserved.