Uses of Interface
com.jnape.palatable.lambda.functions.Fn3
-
-
Uses of Fn3 in com.jnape.palatable.lambda.adt.product
Methods in com.jnape.palatable.lambda.adt.product with parameters of type Fn3 Modifier and Type Method Description default <R> RProduct3. into(Fn3<? super _1,? super _2,? super _3,? extends R> fn)Destructure and apply this product to a function accepting the same number of arguments as this product's slots. -
Uses of Fn3 in com.jnape.palatable.lambda.functions
Subinterfaces of Fn3 in com.jnape.palatable.lambda.functions Modifier and Type Interface Description interfaceFn4<A,B,C,D,E>A function taking four arguments.interfaceFn5<A,B,C,D,E,F>A function taking five arguments.interfaceFn6<A,B,C,D,E,F,G>A function taking six arguments.interfaceFn7<A,B,C,D,E,F,G,H>A function taking seven arguments.interfaceFn8<A,B,C,D,E,F,G,H,I>A function taking eight arguments.Methods in com.jnape.palatable.lambda.functions that return Fn3 Modifier and Type Method Description default Fn3<B,C,D,E>Fn4. apply(A a)Partially apply this function by taking its first argument.default Fn3<C,D,E,F>Fn5. apply(A a, B b)Partially apply this function by taking its first two arguments.default Fn3<D,E,F,G>Fn6. apply(A a, B b, C c)Partially apply this function by taking its first three arguments.default Fn3<E,F,G,H>Fn7. apply(A a, B b, C c, D d)Partially apply this function by taking its first four arguments.default Fn3<F,G,H,I>Fn8. apply(A a, B b, C c, D d, E e)Partially apply this function by taking its first five arguments.default <Y,Z>
Fn3<Y,Z,B,C>Fn2. compose(Fn2<? super Y,? super Z,? extends A> before)Right-to-left composition between different arity functions.default <Z> Fn3<Z,B,C,D>Fn3. contraMap(Fn1<? super Z,? extends A> fn)default <Z> Fn3<Z,B,C,D>Fn3. diMapL(Fn1<? super Z,? extends A> fn)default <E> Fn3<A,B,C,D>Fn3. discardR(Applicative<E,Fn1<A,?>> appB)default Fn3<B,A,C,D>Fn3. flip()Flip the order of the first two arguments.static <A,B,C,D>
Fn3<A,B,C,D>Fn3. fn3(Fn1<A,Fn2<B,C,D>> curriedFn1)static <A,B,C,D>
Fn3<A,B,C,D>Fn3. fn3(Fn2<A,B,Fn1<C,D>> curriedFn2)static <A,B,C,D>
Fn3<A,B,C,D>Fn3. fn3(Fn3<A,B,C,D> fn)Static factory method for coercing a lambda to anFn3.default Fn3<? super Product2<? extends A,? extends B>,C,D,E>Fn4. uncurry()default <Z> Fn3<Z,A,B,C>Fn2. widen()Widen this function's argument list by prepending an ignored argument of any type to the front.Methods in com.jnape.palatable.lambda.functions with parameters of type Fn3 Modifier and Type Method Description static <A,B,C,D>
Fn3<A,B,C,D>Fn3. fn3(Fn3<A,B,C,D> fn)Static factory method for coercing a lambda to anFn3.static <A,B,C,D,E>
Fn4<A,B,C,D,E>Fn4. fn4(Fn3<A,B,C,Fn1<D,E>> curriedFn3)static <A,B,C,D,E,F>
Fn5<A,B,C,D,E,F>Fn5. fn5(Fn3<A,B,C,Fn2<D,E,F>> curriedFn3)static <A,B,C,D,E,F,G>
Fn6<A,B,C,D,E,F,G>Fn6. fn6(Fn3<A,B,C,Fn3<D,E,F,G>> curriedFn3)static <A,B,C,D,E,F,G,H>
Fn7<A,B,C,D,E,F,G,H>Fn7. fn7(Fn3<A,B,C,Fn4<D,E,F,G,H>> curriedFn3)static <A,B,C,D,E,F,G,H,I>
Fn8<A,B,C,D,E,F,G,H,I>Fn8. fn8(Fn3<A,B,C,Fn5<D,E,F,G,H,I>> curriedFn3)Method parameters in com.jnape.palatable.lambda.functions with type arguments of type Fn3 Modifier and Type Method Description static <A,B,C,D,E>
Fn4<A,B,C,D,E>Fn4. fn4(Fn1<A,Fn3<B,C,D,E>> curriedFn1)static <A,B,C,D,E,F>
Fn5<A,B,C,D,E,F>Fn5. fn5(Fn2<A,B,Fn3<C,D,E,F>> curriedFn2)static <A,B,C,D,E,F,G>
Fn6<A,B,C,D,E,F,G>Fn6. fn6(Fn3<A,B,C,Fn3<D,E,F,G>> curriedFn3)static <A,B,C,D,E,F,G,H>
Fn7<A,B,C,D,E,F,G,H>Fn7. fn7(Fn4<A,B,C,D,Fn3<E,F,G,H>> curriedFn4)static <A,B,C,D,E,F,G,H,I>
Fn8<A,B,C,D,E,F,G,H,I>Fn8. fn8(Fn5<A,B,C,D,E,Fn3<F,G,H,I>> curriedFn5) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn2
Classes in com.jnape.palatable.lambda.functions.builtin.fn2 that implement Fn3 Modifier and Type Class Description classBoth<A,B,C>classPeek2<A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>>Deprecated.in favor of producing anIOfrom the givenBoundedBifunctorand explicitly running itMethods in com.jnape.palatable.lambda.functions.builtin.fn2 with parameters of type Fn3 Modifier and Type Method Description DInto3. checkedApply(Fn3<? super A,? super B,? super C,? extends D> fn, Product3<A,B,C> product)static <A,B,C,D>
Fn1<Product3<A,B,C>,D>Into3. into3(Fn3<? super A,? super B,? super C,? extends D> fn)static <A,B,C,D>
DInto3. into3(Fn3<? super A,? super B,? super C,? extends D> fn, Product3<A,B,C> product) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn3
Classes in com.jnape.palatable.lambda.functions.builtin.fn3 that implement Fn3 Modifier and Type Class Description classBetween<A extends java.lang.Comparable<A>>Given two bounds and a value, return whether or not the value is greater than or equal to the lower bound and less than or equal to the upper bound.classBracket<A,B>Given anIOthat yields some typeA, a cleanup operation to run if a value of that type could be provisioned, and a kleisli arrow from that type to a newIOof typeB, produce anthat, when run, will provision theIO<B>A,flatMapit toB, and clean up the original value if it was produced in the first place.classClamp<A extends java.lang.Comparable<A>>Given two bounds and a value, "clamp" the value between the bounds via the following algorithm: - if the value is strictly less than the lower bound, return the lower bound - if the value is strictly greater than the upper bound, return the upper bound - otherwise, return the valueclassCmpEqBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeBand two values of typeA, returntrueif the first value is strictly equal to the second value (according toComparable.compareTo(Object)in terms of their mappedBresults; otherwise, return false.classCmpEqWith<A>Given aComparatorfrom some typeAand two values of typeA, returntrueif the first value is strictly equal to the second value (according toComparator.compare(Object, Object)otherwise, return false.classCompare<A>Given aComparatorfrom some typeAand two values of typeA, return aComparisonRelationof the first value with reference to the second value (according toComparator.compare(Object, Object).classFoldLeft<A,B>Given anIterableofAs, a starting valueB, and a, iteratively accumulate over theFn2<B, A, B>Iterable, ultimately returning a finalBvalue.classFoldRight<A,B>classGTBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeBand two values of typeA, returntrueif the second value is strictly greater than the first value in terms of their mappedBresults; otherwise, return false.classGTEBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeBand two values of typeA, returntrueif the second value is greater than or equal to the first value in terms of their mappedBresults according toComparable.compareTo(Object); otherwise, return false.classGTEWith<A>Given aComparatorfrom some typeAand two values of typeA, returntrueif the second value is greater than or equal to the first value in terms of their mappedBresults according toComparator.compare(Object, Object); otherwise, return false.classGTWith<A>Given aComparatorfrom some typeAand two values of typeA, returntrueif the second value is strictly greater than the first value in terms of their mappedBresults; otherwise, return false.classLiftA2<A,B,C,App extends Applicative<?,App>,AppC extends Applicative<C,App>>Lift into and apply anFn2to twoApplicativevalues, returning the result inside the sameApplicativecontext.classLTBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeBand two values of typeA, returntrueif the second value is strictly less than the first value in terms of their mappedBresults; otherwise, return false.classLTEBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeBand two values of typeA, returntrueif the second value is less than or equal to the first value in terms of their mappedBresults according toComparable.compareTo(Object); otherwise, return false.classLTEWith<A>Given aComparatorfrom some typeAand two values of typeA, returntrueif the second value is less than or equal to the first value in terms of their mappedBresults according toComparator.compare(Object, Object); otherwise, return false.classLTWith<A>Given a comparator for some typeAand two values of typeA, returntrueif the second value is strictly less than than the first value in terms of their mappedBresults; otherwise, return false.classScanLeft<A,B>Given anIterableofAs, a starting valueB, and a, iteratively accumulate over theFn2<B, A, B>Iterable, collecting each function application result, finally returning anIterableof all the results.classTimes<A>Given some number of timesnto invoke a functionA -> A, and given an inputA, iteratively apply the function to the input, and then to the result of the invocation, a total ofntimes, returning the result.classZipWith<A,B,C>Zip together twoIterables by applying a zipping function to the successive elements of eachIterableuntil one of them runs out of elements. -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn4
Classes in com.jnape.palatable.lambda.functions.builtin.fn4 that implement Fn3 Modifier and Type Class Description classIfThenElse<A,B>classLiftA3<A,B,C,D,App extends Applicative<?,App>,AppD extends Applicative<D,App>>Lift into and apply anFn3to threeApplicativevalues, returning the result inside the sameApplicativecontext.classRateLimit<A>Methods in com.jnape.palatable.lambda.functions.builtin.fn4 that return Fn3 Modifier and Type Method Description static <A,B>
Fn3<Fn1<? super A,? extends B>,Fn1<? super A,? extends B>,A,B>IfThenElse. ifThenElse(Fn1<? super A,? extends java.lang.Boolean> predicate)static <A,B,C,D,App extends Applicative<?,App>,AppD extends Applicative<D,App>>
Fn3<Applicative<A,App>,Applicative<B,App>,Applicative<C,App>,AppD>LiftA3. liftA3(Fn3<A,B,C,D> fn)static <A> Fn3<java.lang.Long,java.time.Duration,java.lang.Iterable<A>,java.lang.Iterable<A>>RateLimit. rateLimit(Fn0<java.time.Instant> instantFn0)Methods in com.jnape.palatable.lambda.functions.builtin.fn4 with parameters of type Fn3 Modifier and Type Method Description AppDLiftA3. checkedApply(Fn3<A,B,C,D> fn, Applicative<A,App> appA, Applicative<B,App> appB, Applicative<C,App> appC)static <A,B,C,D,App extends Applicative<?,App>,AppD extends Applicative<D,App>>
Fn3<Applicative<A,App>,Applicative<B,App>,Applicative<C,App>,AppD>LiftA3. liftA3(Fn3<A,B,C,D> fn)static <A,B,C,D,App extends Applicative<?,App>,AppD extends Applicative<D,App>>
Fn2<Applicative<B,App>,Applicative<C,App>,AppD>LiftA3. liftA3(Fn3<A,B,C,D> fn, Applicative<A,App> appA)static <A,B,C,D,App extends Applicative<?,App>,AppD extends Applicative<D,App>>
Fn1<Applicative<C,App>,AppD>LiftA3. liftA3(Fn3<A,B,C,D> fn, Applicative<A,App> appA, Applicative<B,App> appB)static <A,B,C,D,App extends Applicative<?,App>,AppD extends Applicative<D,App>>
AppDLiftA3. liftA3(Fn3<A,B,C,D> fn, Applicative<A,App> appA, Applicative<B,App> appB, Applicative<C,App> appC) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn5
Classes in com.jnape.palatable.lambda.functions.builtin.fn5 that implement Fn3 Modifier and Type Class Description classLiftA4<A,B,C,D,E,App extends Applicative<?,App>,AppE extends Applicative<E,App>>Lift into and apply anFn4to fourApplicativevalues, returning the result inside the sameApplicativecontext.Methods in com.jnape.palatable.lambda.functions.builtin.fn5 that return Fn3 Modifier and Type Method Description static <A,B,C,D,E,App extends Applicative<?,App>,AppE extends Applicative<E,App>>
Fn3<Applicative<B,App>,Applicative<C,App>,Applicative<D,App>,AppE>LiftA4. liftA4(Fn4<A,B,C,D,E> fn, Applicative<A,App> appA) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn6
Classes in com.jnape.palatable.lambda.functions.builtin.fn6 that implement Fn3 Modifier and Type Class Description classLiftA5<A,B,C,D,E,F,App extends Applicative<?,App>,AppF extends Applicative<F,App>>Lift into and apply anFn5to fiveApplicativevalues, returning the result inside the sameApplicativecontext.Methods in com.jnape.palatable.lambda.functions.builtin.fn6 that return Fn3 Modifier and Type Method Description static <A,B,C,D,E,F,App extends Applicative<?,App>,AppF extends Applicative<F,App>>
Fn3<Applicative<C,App>,Applicative<D,App>,Applicative<E,App>,AppF>LiftA5. liftA5(Fn5<A,B,C,D,E,F> fn, Applicative<A,App> appA, Applicative<B,App> appB) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn7
Classes in com.jnape.palatable.lambda.functions.builtin.fn7 that implement Fn3 Modifier and Type Class Description classLiftA6<A,B,C,D,E,F,G,App extends Applicative<?,App>,AppG extends Applicative<G,App>>Lift into and apply anFn6to sixApplicativevalues, returning the result inside the sameApplicativecontext.Methods in com.jnape.palatable.lambda.functions.builtin.fn7 that return Fn3 Modifier and Type Method Description static <A,B,C,D,E,F,G,App extends Applicative<?,App>,AppG extends Applicative<G,App>>
Fn3<Applicative<D,App>,Applicative<E,App>,Applicative<F,App>,AppG>LiftA6. liftA6(Fn6<A,B,C,D,E,F,G> fn, Applicative<A,App> appA, Applicative<B,App> appB, Applicative<C,App> appC) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.builtin.fn8
Classes in com.jnape.palatable.lambda.functions.builtin.fn8 that implement Fn3 Modifier and Type Class Description classLiftA7<A,B,C,D,E,F,G,H,App extends Applicative<?,App>,AppH extends Applicative<H,App>>Lift into and apply anFn7to sevenApplicativevalues, returning the result inside the sameApplicativecontext.Methods in com.jnape.palatable.lambda.functions.builtin.fn8 that return Fn3 Modifier and Type Method Description static <A,B,C,D,E,F,G,H,App extends Applicative<?,App>,AppH extends Applicative<H,App>>
Fn3<Applicative<E,App>,Applicative<F,App>,Applicative<G,App>,AppH>LiftA7. liftA7(Fn7<A,B,C,D,E,F,G,H> fn, Applicative<A,App> appA, Applicative<B,App> appB, Applicative<C,App> appC, Applicative<D,App> appD) -
Uses of Fn3 in com.jnape.palatable.lambda.functions.specialized
Subinterfaces of Fn3 in com.jnape.palatable.lambda.functions.specialized Modifier and Type Interface Description interfaceBiMonoidFactory<A,B,C>interfaceBiSemigroupFactory<A,B,C>interfaceMonoidFactory<A,B>interfaceSemigroupFactory<A,B> -
Uses of Fn3 in com.jnape.palatable.lambda.monoid.builtin
Classes in com.jnape.palatable.lambda.monoid.builtin that implement Fn3 Modifier and Type Class Description classAddAll<A,C extends java.util.Collection<A>>TheMonoidinstance formed under mutative concatenation for an arbitraryCollection.classCollapse<_1,_2>classCompose<A>classEndoK<M extends MonadRec<?,M>,A,MA extends MonadRec<A,M>>The monoid formed under monadic endomorphism.classLeftAll<L,R>classLeftAny<L,R>classMerge<L,R>AMonoidinstance formed byEither.merge(com.jnape.palatable.lambda.functions.Fn2<? super L, ? super L, ? extends L>, com.jnape.palatable.lambda.functions.Fn2<? super R, ? super R, ? extends R>, com.jnape.palatable.lambda.adt.Either<L, R>...), a semigroup overL, and a monoid overR.classMergeMaps<K,V>classPresent<A>classRightAll<L,R>classRightAny<L,R>classRunAll<A> -
Uses of Fn3 in com.jnape.palatable.lambda.optics.functions
Classes in com.jnape.palatable.lambda.optics.functions that implement Fn3 Modifier and Type Class Description classOver<S,T,A,B>Given anOptic, a function fromAtoB, and a "larger" valueS, produce aTby retrieving theAfrom theS, applying the function, and updating theSwith theBresulting from the function.classSet<S,T,A,B>classUnder<S,T,A,B> -
Uses of Fn3 in com.jnape.palatable.lambda.semigroup.builtin
Classes in com.jnape.palatable.lambda.semigroup.builtin that implement Fn3 Modifier and Type Class Description classAbsent<A>classCollapse<_1,_2>classCompose<A>classLeftAll<L,R>classLeftAny<L,R>classMaxBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeB, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly less thanyin terms ofB, returnyOtherwise, returnxclassMaxWith<A>Given a comparator for some typeA, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly less thanyin terms ofB, returnyOtherwise, returnxclassMerge<L,R>classMinBy<A,B extends java.lang.Comparable<B>>Given a mapping function from some typeAto someComparabletypeB, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly greater thanyin terms ofB, returnyOtherwise, returnxclassMinWith<A>Given a comparator for some typeA, produce aSemigroupoverAthat chooses between two valuesxandyvia the following rules: Ifxis strictly greater thanyin terms ofB, returnyOtherwise, returnxclassRightAll<L,R>classRightAny<L,R>classRunAll<A>
-