Package fj.data.optic
Class Setter<S,A>
java.lang.Object
fj.data.optic.PSetter<S,S,A,A>
fj.data.optic.Setter<S,A>
PSetter
with a monomorphic modify function-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomposeIso
(Iso<A, C> other) composeSetter
(Setter<A, C> other) composeTraversal
(Traversal<A, C> other) static <S> Setter
<S, S> id()
modify polymorphically the target of aPSetter
with a functionset polymorphically the target of aPSetter
with a valuestatic <S,
A> Setter <S, A> alias forPSetter
constructor with a monomorphic modify functionjoin twoSetter
with the same targetMethods inherited from class fj.data.optic.PSetter
composeIso, composeLens, composeOptional, composePrism, composeSetter, composeTraversal, pCodiagonal, pId, pSetter, sum
-
Field Details
-
pSetter
-
-
Constructor Details
-
Setter
-
-
Method Details
-
modify
Description copied from class:PSetter
modify polymorphically the target of aPSetter
with a function -
set
Description copied from class:PSetter
set polymorphically the target of aPSetter
with a value -
sum
join twoSetter
with the same target -
composeSetter
-
composeTraversal
-
composeIso
-
id
-
codiagonal
-
setter
alias forPSetter
constructor with a monomorphic modify function
-