| Package | Description |
|---|---|
| io.atlassian.fugue.optic | |
| io.atlassian.fugue.optic.law | |
| io.atlassian.fugue.optic.std |
| Modifier and Type | Class and Description |
|---|---|
class |
Lens<S,A>
PLens with a monomorphic set function |
| Modifier and Type | Method and Description |
|---|---|
PLens<S,T,A,B> |
PIso.asLens()
|
<C,D> PLens<S,T,C,D> |
PLens.composeIso(PIso<A,B,C,D> other)
|
<C,D> PLens<S,T,C,D> |
PIso.composeLens(PLens<A,B,C,D> other)
|
<C,D> PLens<S,T,C,D> |
PLens.composeLens(PLens<A,B,C,D> other)
|
static <S,T> PLens<S,T,S,T> |
PLens.pId() |
static <S,T,A,B> PLens<S,T,A,B> |
PLens.pLens(Function<S,A> get,
Function<B,Function<S,T>> set)
create a
PLens using a pair of functions: one to get the target,
one to set the target. |
<S1,T1> PLens<Either<S,S1>,Either<T,T1>,A,B> |
PLens.sum(PLens<S1,T1,A,B> other)
join two
PLens with the same target |
| Modifier and Type | Method and Description |
|---|---|
<B,C,D> Fold<S,C> |
Fold.composeLens(PLens<A,B,C,D> other)
|
<B,C,D> Getter<S,C> |
Getter.composeLens(PLens<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
POptional.composeLens(PLens<A,B,C,D> other)
|
<C,D> PSetter<S,T,C,D> |
PSetter.composeLens(PLens<A,B,C,D> other)
|
<C,D> PTraversal<S,T,C,D> |
PTraversal.composeLens(PLens<A,B,C,D> other)
compose a
PTraversal with a PLens |
<C,D> PLens<S,T,C,D> |
PIso.composeLens(PLens<A,B,C,D> other)
|
<C,D> POptional<S,T,C,D> |
PPrism.composeLens(PLens<A,B,C,D> other)
|
<C,D> PLens<S,T,C,D> |
PLens.composeLens(PLens<A,B,C,D> other)
|
<S1,T1> PLens<Either<S,S1>,Either<T,T1>,A,B> |
PLens.sum(PLens<S1,T1,A,B> other)
join two
PLens with the same target |
| Constructor and Description |
|---|
Lens(PLens<S,S,A,A> pLens) |
| Constructor and Description |
|---|
LensLaws(PLens<S,S,A,A> lens) |
| Modifier and Type | Method and Description |
|---|---|
static <A,B,C> PLens<Pair<A,B>,Pair<C,B>,A,C> |
PairOptics.pLeft() |
static <A,B,C> PLens<Pair<A,B>,Pair<A,C>,B,C> |
PairOptics.pRight() |
Copyright © 2016 Atlassian. All rights reserved.