Package io.atlassian.fugue.optic
Class Traversal<S,A>
java.lang.Object
io.atlassian.fugue.optic.PTraversal<S,S,A,A>
io.atlassian.fugue.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(Function<A, Either<L, A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodifyFunctionF(Function<A, Function<C, A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodifyIterableF(Function<A, Iterable<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodifyOptionF(Function<A, Option<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionmodify polymorphically the target of aPTraversalwith an Applicative functionmodifySupplierF(Function<A, Supplier<A>> f) modify polymorphically the target of aPTraversalwith an Applicative functionjoin twoTraversalwith the same targetstatic <S,A> Traversal <S, A> traversal(Function<S, A> get1, Function<S, A> get2, BiFunction<A, A, Function<S, S>> set) static <S,A> Traversal <S, A> traversal(Function<S, A> get1, Function<S, A> get2, Function<S, A> get3, Function<A, Function<A, Function<A, Function<S, S>>>> set) static <S,A> Traversal <S, A> traversal(Function<S, A> get1, Function<S, A> get2, Function<S, A> get3, Function<S, A> get4, Function<A, Function<A, Function<A, Function<A, Function<S, S>>>>> set) static <S,A> Traversal <S, A> traversal(Function<S, A> get1, Function<S, A> get2, Function<S, A> get3, Function<S, A> get4, Function<S, A> get5, Function<A, Function<A, Function<A, Function<A, Function<A, Function<S, S>>>>>> set) static <S,A> Traversal <S, A> traversal(Function<S, A> get1, Function<S, A> get2, Function<S, A> get3, Function<S, A> get4, Function<S, A> get5, Function<S, A> get6, Function<A, Function<A, Function<A, Function<A, Function<A, Function<A, Function<S, S>>>>>>> set) Methods inherited from class io.atlassian.fugue.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: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>
-
modifyOptionF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyOptionFin classPTraversal<S,S, A, A>
-
modifyIterableF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyIterableFin classPTraversal<S,S, A, A>
-
modifySupplierF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifySupplierFin classPTraversal<S,S, A, A>
-
modifyPairF
Description copied from class:PTraversalmodify polymorphically the target of aPTraversalwith an Applicative function- Specified by:
modifyPairFin classPTraversal<S,S, A, A>
-
foldMap
Description copied from class:PTraversalmap each target to aMonoidand combine the results -
sum
join twoTraversalwith the same target -
composeSetter
-
composeTraversal
-
asSetter
-
id
-
codiagonal
-
traversal
public static <S,A> Traversal<S,A> traversal(Function<S, A> get1, Function<S, A> get2, BiFunction<A, A, Function<S, S>> set) -
traversal
-
traversal
-
traversal
-
traversal
-