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 aMonoidand combine the resultsstatic <S> Traversal<S, S> id()modifyEitherF(F<A, Either<L, A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodifyFunctionF(F<A, F<C, A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodify polymorphically the target of aPTraversalwith an Applicative functionmodifyListF(F<A, List<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodifyOptionF(F<A, Option<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodify polymorphically the target of aPTraversalwith an Applicative functionmodifyPromiseF(F<A, Promise<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodifyStreamF(F<A, Stream<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionF<S, Trampoline<S>> modifyTrampolineF(F<A, Trampoline<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodify polymorphically the target of aPTraversalwith an Applicative function<E> F<S, Validation<E, S>> modifyValidationF(Semigroup<E> s, F<A, Validation<E, A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionjoin twoTraversalwith 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 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:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyFunctionFin classPTraversal<S,S, A, A>
-
modifyEitherF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyEitherFin classPTraversal<S,S, A, A>
-
modifyIOF
-
modifyTrampolineF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyTrampolineFin classPTraversal<S,S, A, A>
-
modifyPromiseF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyPromiseFin classPTraversal<S,S, A, A>
-
modifyListF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyListFin classPTraversal<S,S, A, A>
-
modifyOptionF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyOptionFin classPTraversal<S,S, A, A>
-
modifyStreamF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyStreamFin classPTraversal<S,S, A, A>
-
modifyP1F
-
modifyValidationF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyValidationFin classPTraversal<S,S, A, A>
-
modifyV2F
-
foldMap
-
sum
-
composeSetter
-
composeTraversal
-
asSetter
-
id
-
codiagonal
-
traversal
-
traversal
-
traversal
-
traversal
-
traversal
-