A
- the target type@FunctionalInterface public static interface Data.View<A>
Modifier and Type | Interface and Description |
---|---|
static class |
Data.View.Proxy<A> |
Modifier and Type | Method and Description |
---|---|
default <B> Data.View<B> |
map(Function<? super A,? extends B> fun) |
default <B> Data.View<Map.Entry<A,B>> |
mapsTo(Data.View<B> other) |
default Data.View<Optional<A>> |
optional() |
default Data.View<A> |
orElse(A defaultValue) |
default Data.View<A> |
orElseGet(Supplier<? extends A> defaultValue) |
default Data.View<List<A>> |
sequence() |
A |
view(Data x) |
see also the complete user documentation .