Package | Description |
---|---|
com.aldebaran.qi | |
com.aldebaran.qi.serialization |
Modifier and Type | Method and Description |
---|---|
static <T> Optional<T> |
Optional.empty() |
Optional<T> |
Optional.filter(Predicate<? super T> predicate) |
<U> Optional<U> |
Optional.flatMap(Function<? super T,? extends Optional<? extends U>> mapper) |
<U> Optional<U> |
Optional.map(Function<? super T,? extends U> mapper) |
static <T> Optional<T> |
Optional.of(T value) |
static <T> Optional<T> |
Optional.ofNullable(T value) |
Optional<T> |
Optional.or(Supplier<? extends Optional<? extends T>> supplier) |
Modifier and Type | Method and Description |
---|---|
<U> Optional<U> |
Optional.flatMap(Function<? super T,? extends Optional<? extends U>> mapper) |
Optional<T> |
Optional.or(Supplier<? extends Optional<? extends T>> supplier) |
Modifier and Type | Method and Description |
---|---|
Optional<?> |
OptionalConverter.deserialize(QiSerializer serializer,
Object object,
Type targetType)
Creates an object of optional type
targetType adapted from an
optional object object . |
Optional<?> |
OptionalConverter.serialize(QiSerializer serializer,
Object object)
Creates an optional object adapted from an optional object
object . |
Copyright © 2019. All rights reserved.