| Modifier and Type | Method and Description |
|---|---|
static <S> Setter<Either<S,S>,S> |
codiagonal() |
<C> Setter<S,C> |
composeIso(Iso<A,C> other)
|
<C> Setter<S,C> |
composeSetter(Setter<A,C> other)
|
<C> Setter<S,C> |
composeTraversal(Traversal<A,C> other)
|
static <S> Setter<S,S> |
id() |
Function<S,S> |
modify(Function<A,A> f)
modify polymorphically the target of a
PSetter with a function |
Function<S,S> |
set(A b)
set polymorphically the target of a
PSetter with a value |
static <S,A> Setter<S,A> |
setter(Function<Function<A,A>,Function<S,S>> modify)
alias for
PSetter constructor with a monomorphic modify function |
<S1> Setter<Either<S,S1>,A> |
sum(Setter<S1,A> other)
join two
Setter with the same target |
composeIso, composeLens, composeOptional, composePrism, composeSetter, composeTraversal, pCodiagonal, pId, pSetter, sumpublic Function<S,S> modify(Function<A,A> f)
PSetterPSetter with a functionpublic Function<S,S> set(A b)
PSetterPSetter with a valuepublic final <S1> Setter<Either<S,S1>,A> sum(Setter<S1,A> other)
Setter with the same targetpublic static <S> Setter<S,S> id()
Copyright © 2018 Atlassian. All rights reserved.