| Modifier and Type | Method and Description |
|---|---|
static <T> StreamableOptional<T> |
StreamableOptional.empty() |
StreamableOptional<T> |
StreamableOptional.filter(Predicate<? super T> predicate) |
StreamableOptional<T> |
ExtendedStream.findLast() |
<U> StreamableOptional<U> |
StreamableOptional.flatMap(Function<? super T,StreamableOptional<U>> mapper) |
<U> StreamableOptional<U> |
StreamableOptional.map(Function<? super T,? extends U> mapper) |
static <T> StreamableOptional<T> |
StreamableOptional.of(T value) |
static <T> StreamableOptional<T> |
StreamableOptional.ofNullable(T value) |
static <T> StreamableOptional<T> |
StreamableOptional.ofOptional(Optional<T> optional)
Builds a StreamableOptional around the given
Optional |
| Modifier and Type | Method and Description |
|---|---|
<U> StreamableOptional<U> |
StreamableOptional.flatMap(Function<? super T,StreamableOptional<U>> mapper) |
Copyright © 2014–2016. All rights reserved.