Class Optional<T>
- java.lang.Object
-
- org.reactivestreams.tck.flow.support.Optional<T>
-
- Direct Known Subclasses:
Optional.Some
public abstract class Optional<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Optional.Some<T>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T> Optional<T>
empty()
abstract T
get()
boolean
isDefined()
abstract boolean
isEmpty()
static <T> Optional<T>
of(T it)
java.lang.String
toString()
-