| Package | Description |
|---|---|
| io.atlassian.fugue.optic | |
| io.atlassian.fugue.optic.std |
| Modifier and Type | Method and Description |
|---|---|
Prism<S,A> |
Iso.asPrism()
|
<C,D> Prism<S,C> |
Prism.composeIso(Iso<A,C> other)
|
<C> Prism<S,C> |
Prism.composePrism(Prism<A,C> other)
|
<C> Prism<S,C> |
Iso.composePrism(Prism<A,C> other)
|
static <S> Prism<S,S> |
Prism.id() |
static <S,A> Prism<S,A> |
Prism.prism(Function<S,Option<A>> getOption,
Function<A,S> reverseGet) |
| Modifier and Type | Method and Description |
|---|---|
<C> Optional<S,C> |
Optional.composePrism(Prism<A,C> other)
|
<C> Optional<S,C> |
Lens.composePrism(Prism<A,C> other)
|
<C> Prism<S,C> |
Prism.composePrism(Prism<A,C> other)
|
<C> Prism<S,C> |
Iso.composePrism(Prism<A,C> other)
|
| Modifier and Type | Method and Description |
|---|---|
static <A,B> Prism<Either<A,B>,A> |
EitherOptics.left() |
static <A,B> Prism<Either<A,B>,B> |
EitherOptics.right() |
static <A> Prism<Option<A>,A> |
OptionOptics.some() |
Copyright © 2016 Atlassian. All rights reserved.