Option
or Optional
@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–2018 Atlassian. All rights reserved.