Package fj.data.optic
Class Traversal<S,A>
java.lang.Object
fj.data.optic.PTraversal<S,S,A,A>
fj.data.optic.Traversal<S,A>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasSetter()
composeSetter
(Setter<A, C> other) composeTraversal
(Traversal<A, C> other) map each target to aMonoid
and combine the resultsstatic <S> Traversal
<S, S> id()
modifyEitherF
(F<A, Either<L, A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionmodifyFunctionF
(F<A, F<C, A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionmodify polymorphically the target of aPTraversal
with an Applicative functionmodifyListF
(F<A, List<A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionmodifyOptionF
(F<A, Option<A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionmodify polymorphically the target of aPTraversal
with an Applicative functionmodifyPromiseF
(F<A, Promise<A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionmodifyStreamF
(F<A, Stream<A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionF
<S, Trampoline<S>> modifyTrampolineF
(F<A, Trampoline<A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionmodify polymorphically the target of aPTraversal
with an Applicative function<E> F
<S, Validation<E, S>> modifyValidationF
(Semigroup<E> s, F<A, Validation<E, A>> f) modify polymorphically the target of aPTraversal
with an Applicative functionjoin twoTraversal
with the same targetstatic <S,
A> Traversal <S, A> traversal
(F<S, A> get1, F<S, A> get2, F<S, A> get3, F<S, A> get4, F<S, A> get5, F<S, A> get6, F7<A, A, A, A, A, A, S, S> set) static <S,
A> Traversal <S, A> static <S,
A> Traversal <S, A> static <S,
A> Traversal <S, A> static <S,
A> Traversal <S, A> Methods inherited from class fj.data.optic.PTraversal
all, asFold, composeFold, composeFold, composeIso, composeLens, composeOptional, composePrism, composeSetter, composeTraversal, exist, find, fold, getAll, headOption, modify, pCodiagonal, pId, pTraversal, pTraversal, pTraversal, pTraversal, pTraversal, set, sum
-
Field Details
-
pTraversal
-
-
Constructor Details
-
Traversal
-
-
Method Details
-
modifyFunctionF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyFunctionF
in classPTraversal<S,
S, A, A>
-
modifyEitherF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyEitherF
in classPTraversal<S,
S, A, A>
-
modifyIOF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function -
modifyTrampolineF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyTrampolineF
in classPTraversal<S,
S, A, A>
-
modifyPromiseF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyPromiseF
in classPTraversal<S,
S, A, A>
-
modifyListF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyListF
in classPTraversal<S,
S, A, A>
-
modifyOptionF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyOptionF
in classPTraversal<S,
S, A, A>
-
modifyStreamF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyStreamF
in classPTraversal<S,
S, A, A>
-
modifyP1F
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function -
modifyValidationF
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function- Specified by:
modifyValidationF
in classPTraversal<S,
S, A, A>
-
modifyV2F
Description copied from class:PTraversal
modify polymorphically the target of aPTraversal
with an Applicative function -
foldMap
Description copied from class:PTraversal
map each target to aMonoid
and combine the results -
sum
join twoTraversal
with the same target -
composeSetter
-
composeTraversal
-
asSetter
-
id
-
codiagonal
-
traversal
-
traversal
-
traversal
-
traversal
-
traversal
-