Uses of Class
io.atlassian.fugue.Pair
Packages that use Pair
Package
Description
-
Uses of Pair in io.atlassian.fugue
Fields in io.atlassian.fugue with type parameters of type PairModifier and TypeFieldDescriptionIterables.UnfoldingIterable.fIterables.UnfoldingIterable.Iter.fMethods in io.atlassian.fugue that return PairModifier and TypeMethodDescriptionstatic <A,B> Pair <B, B> Performs function application within an homogeneous pair (applicative functor pattern).<AA,BB> Pair <AA, BB> Applies functions to each of the left and right values to produce a new pair.Applies a function to the left value to produce a new Pair.static <A,B> Pair <B, B> Apply a function to both elements of an homogeneous pair.static <A,B> Pair <A, B> Pair.pair(A left, B right) Factory method for static Pair growth.Filter anIterableinto aPairofIterable's.Applies a function to the right value to produce a new Pair.Pair.swap()Methods in io.atlassian.fugue that return types with arguments of type PairModifier and TypeMethodDescriptionComposes a monoid with another.Composes a semigroup with another.Pair.leftValue()Function for accessing the left value ofpairs.static <A,B> BiFunction <A, B, Pair<A, B>> Pair.pairs()Factory method for a Pair factory function.Pair.rightValue()Function for accessing the right value ofpairs.Zips two iterables into a single iterable that producespairs.Zips two iterables into a single iterable that producespairs.Zips the two given optionals into an optional of a pair.Iterables.zipWithIndex(Iterable<A> as) Takes an Iterable, and returns an Iterable of a Pair of the original element and its index starting at zero.Methods in io.atlassian.fugue with parameters of type PairModifier and TypeMethodDescriptionstatic <A,B> Pair <B, B> Performs function application within an homogeneous pair (applicative functor pattern).static <A,B> Pair <B, B> Apply a function to both elements of an homogeneous pair.Method parameters in io.atlassian.fugue with type arguments of type PairModifier and TypeMethodDescriptionstatic <F, S, T extends S>
TApply f to each element in elements, with each application using the result of the previous application as the other argument to f.static <A,B, C> BiFunction <A, B, C> Functions.toBiFunction(Function<Pair<A, B>, C> fpair) Converts a function that takes a pair of arguments to a function that takes two argumentsstatic <A,B> Iterable <A> Builds an Iterable from a seed value untilfreturnsnone().Constructor parameters in io.atlassian.fugue with type arguments of type Pair -
Uses of Pair in io.atlassian.fugue.optic
Methods in io.atlassian.fugue.optic that return types with arguments of type PairModifier and TypeMethodDescriptionGetter.first()Getter.first()Iso.first()Iso.first()Optional.first()Optional.first()PIso.first()PIso.first()PIso.first()PIso.first()POptional.first()POptional.first()POptional.first()POptional.first()modify polymorphically the target of aPIsowith an Applicative functionmodify polymorphically the target of aPLenswith an Applicative functionmodify polymorphically the target of aPOptionalwith an Applicative functionmodify polymorphically the target of aPPrismwith an Applicative functionmodify polymorphically the target of aPTraversalwith an Applicative functionpair two disjointGetterpair two disjointGetterpair two disjointIsopair two disjointIsopair two disjointPIsopair two disjointPIsopair two disjointPIsopair two disjointPIsoGetter.second()Getter.second()Iso.second()Iso.second()Optional.second()Optional.second()PIso.second()PIso.second()PIso.second()PIso.second()POptional.second()POptional.second()POptional.second()POptional.second()Method parameters in io.atlassian.fugue.optic with type arguments of type PairModifier and TypeMethodDescriptionmodify polymorphically the target of aPIsowith an Applicative functionmodify polymorphically the target of aPLenswith an Applicative functionmodify polymorphically the target of aPOptionalwith an Applicative functionmodify polymorphically the target of aPPrismwith an Applicative functionmodify polymorphically the target of aPTraversalwith an Applicative function -
Uses of Pair in io.atlassian.fugue.optic.law
Methods in io.atlassian.fugue.optic.law that return types with arguments of type PairModifier and TypeMethodDescriptionIsoLaws.modifyPairFPoint(S s) modifyF Applicative.point(_) = Applicative.point(_)LensLaws.modifyPairFPoint(S s) modifyF Applicative.point(_) = Applicative.point(_)OptionalLaws.modifyPairFPoint(S s) modifyF Applicative.point(_) = Applicative.point(_)PrismLaws.modifyPairFPoint(S s) modifyF Applicative.point(_) = Applicative.point(_)TraversalLaws.modifyPairFPoint(S s) modifyF Applicative.point(_) = Applicative.point(_) -
Uses of Pair in io.atlassian.fugue.optic.std
Methods in io.atlassian.fugue.optic.std that return types with arguments of type Pair