| Package | Description |
|---|---|
| io.atlassian.fugue.optic | |
| io.atlassian.fugue.optic.law | |
| io.atlassian.fugue.optic.std |
| Modifier and Type | Class and Description |
|---|---|
class |
Prism<S,A>
PPrism restricted to monomorphic update |
| Modifier and Type | Method and Description |
|---|---|
PPrism<S,T,A,B> |
PIso.asPrism()
|
<C,D> PPrism<S,T,C,D> |
PPrism.composeIso(PIso<A,B,C,D> other)
|
<C,D> PPrism<S,T,C,D> |
PIso.composePrism(PPrism<A,B,C,D> other)
|
<C,D> PPrism<S,T,C,D> |
PPrism.composePrism(PPrism<A,B,C,D> other)
|
static <S,T> PPrism<S,T,S,T> |
PPrism.pId() |
static <S,T,A,B> PPrism<S,T,A,B> |
PPrism.pPrism(Function<S,Either<T,A>> getOrModify,
Function<B,T> reverseGet)
create a
PPrism using the canonical functions: getOrModify and
reverseGet |
| Modifier and Type | Method and Description |
|---|---|
<B,C,D> Fold<S,C> |
Getter.composePrism(PPrism<A,B,C,D> other)
|
<B,C,D> Fold<S,C> |
Fold.composePrism(PPrism<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
POptional.composePrism(PPrism<A,B,C,D> other)
|
<C,D> PTraversal<S,T,C,D> |
PTraversal.composePrism(PPrism<A,B,C,D> other)
compose a
PTraversal with a PPrism |
<C,D> PPrism<S,T,C,D> |
PIso.composePrism(PPrism<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PLens.composePrism(PPrism<A,B,C,D> other)
|
<C,D> PSetter<S,T,C,D> |
PSetter.composePrism(PPrism<A,B,C,D> other)
|
<C,D> PPrism<S,T,C,D> |
PPrism.composePrism(PPrism<A,B,C,D> other)
|
| Constructor and Description |
|---|
Prism(PPrism<S,S,A,A> pPrism) |
| Constructor and Description |
|---|
PrismLaws(PPrism<S,S,A,A> prism) |
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> PPrism<Either<A,B>,Either<C,B>,A,C> |
EitherOptics.pLeft() |
static <A,B,C> PPrism<Either<A,B>,Either<A,C>,B,C> |
EitherOptics.pRight() |
static <A,B> PPrism<Option<A>,Option<B>,A,B> |
OptionOptics.pSome() |
Copyright © 2018 Atlassian. All rights reserved.