| Package | Description |
|---|---|
| io.atlassian.fugue.optic | |
| io.atlassian.fugue.optic.law |
| Modifier and Type | Class and Description |
|---|---|
class |
Optional<S,A>
POptional restricted to monomorphic update |
| Modifier and Type | Method and Description |
|---|---|
POptional<S,T,A,B> |
PIso.asOptional()
|
POptional<S,T,A,B> |
PLens.asOptional()
|
POptional<S,T,A,B> |
PPrism.asOptional()
|
<C,D> POptional<S,T,C,D> |
POptional.composeIso(PIso<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
POptional.composeLens(PLens<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PPrism.composeLens(PLens<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
POptional.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PIso.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PLens.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PPrism.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
POptional.composePrism(PPrism<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PLens.composePrism(PPrism<A,B,C,D> other)
|
<C> POptional<Pair<S,C>,Pair<T,C>,Pair<A,C>,Pair<B,C>> |
POptional.first() |
static <S,T> POptional<S,T,S,T> |
POptional.pId() |
static <S,T,A,B> POptional<S,T,A,B> |
POptional.pOptional(Function<S,Either<T,A>> getOrModify,
Function<B,Function<S,T>> set)
create a
POptional using the canonical functions: getOrModify and
set |
<C> POptional<Pair<C,S>,Pair<C,T>,Pair<C,A>,Pair<C,B>> |
POptional.second() |
<S1,T1> POptional<Either<S,S1>,Either<T,T1>,A,B> |
POptional.sum(POptional<S1,T1,A,B> other)
join two
POptional with the same target |
| Modifier and Type | Method and Description |
|---|---|
<B,C,D> Fold<S,C> |
Getter.composeOptional(POptional<A,B,C,D> other)
|
<B,C,D> Fold<S,C> |
Fold.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
POptional.composeOptional(POptional<A,B,C,D> other)
|
<C,D> PTraversal<S,T,C,D> |
PTraversal.composeOptional(POptional<A,B,C,D> other)
compose a
PTraversal with a POptional |
<C,D> POptional<S,T,C,D> |
PIso.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PLens.composeOptional(POptional<A,B,C,D> other)
|
<C,D> PSetter<S,T,C,D> |
PSetter.composeOptional(POptional<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PPrism.composeOptional(POptional<A,B,C,D> other)
|
<S1,T1> POptional<Either<S,S1>,Either<T,T1>,A,B> |
POptional.sum(POptional<S1,T1,A,B> other)
join two
POptional with the same target |
| Constructor and Description |
|---|
Optional(POptional<S,S,A,A> pOptional) |
| Constructor and Description |
|---|
OptionalLaws(POptional<S,S,A,A> optional) |
Copyright © 2018 Atlassian. All rights reserved.