Package fj.data.optic
Class PSetter<S,T,A,B>
java.lang.Object
fj.data.optic.PSetter<S,T,A,B>
- Type Parameters:
S
- the source of aPSetter
T
- the modified source of aPSetter
A
- the target of aPSetter
B
- the modified target of aPSetter
- Direct Known Subclasses:
Setter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncomposeIso
(PIso<A, B, C, D> other) composeLens
(PLens<A, B, C, D> other) composeOptional
(POptional<A, B, C, D> other) composePrism
(PPrism<A, B, C, D> other) composeSetter
(PSetter<A, B, C, D> other) composeTraversal
(PTraversal<A, B, C, D> other) compose aPSetter
with aPTraversal
modify polymorphically the target of aPSetter
with a functionstatic <S,
T> PSetter <S, T, S, T> pId()
static <S,
T, A, B>
PSetter<S, T, A, B> set polymorphically the target of aPSetter
with a valuejoin twoPSetter
with the same target
-
Constructor Details
-
PSetter
PSetter()
-
-
Method Details
-
modify
modify polymorphically the target of aPSetter
with a function -
set
set polymorphically the target of aPSetter
with a value -
sum
join twoPSetter
with the same target -
composeSetter
-
composeTraversal
compose aPSetter
with aPTraversal
-
composeOptional
-
composePrism
-
composeLens
-
composeIso
-
pId
-
pCodiagonal
-
pSetter
-