Class GTEWith<A>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn3.GTEWith<A>
- Type Parameters:
A- the value type
- All Implemented Interfaces:
Fn1<Comparator<A>,,Fn1<A, Fn1<A, Boolean>>> Fn2<Comparator<A>,,A, Fn1<A, Boolean>> Fn3<Comparator<A>,,A, A, Boolean> Applicative<Fn1<A,,Fn1<A, Boolean>>, Fn1<Comparator<A>, ?>> Cartesian<Comparator<A>,,Fn1<A, Fn1<A, Boolean>>, Fn1<?, ?>> Cocartesian<Comparator<A>,,Fn1<A, Fn1<A, Boolean>>, Fn1<?, ?>> Contravariant<Comparator<A>,,Profunctor<?, Fn1<A, Fn1<A, Boolean>>, Fn1<?, ?>>> Functor<Fn1<A,,Fn1<A, Boolean>>, Fn1<Comparator<A>, ?>> Profunctor<Comparator<A>,,Fn1<A, Fn1<A, Boolean>>, Fn1<?, ?>> Monad<Fn1<A,,Fn1<A, Boolean>>, Fn1<Comparator<A>, ?>> MonadReader<Comparator<A>,,Fn1<A, Fn1<A, Boolean>>, Fn1<Comparator<A>, ?>> MonadRec<Fn1<A,,Fn1<A, Boolean>>, Fn1<Comparator<A>, ?>> MonadWriter<Comparator<A>,Fn1<A, Fn1<A, Boolean>>, Fn1<Comparator<A>, ?>>
Given a
Comparator from some type A and two values of type A,
return true if the second value is greater than or equal to the first value in
terms of their mapped B results according to Comparator.compare(Object, Object);
otherwise, return false.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Comparator<A> compareFn) Partially apply this function by taking its first argument.apply(Comparator<A> compareFn, A x) Partially apply this function by taking its first two arguments.checkedApply(Comparator<A> comparator, A a, A a2) static <A> GTEWith<A> gteWith()static <A> BiPredicate<A, A> gteWith(Comparator<A> comparator) static <A> Predicate<A> gteWith(Comparator<A> comparator, A y) static <A> BooleangteWith(Comparator<A> comparator, A y, A x) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jnape.palatable.lambda.functions.Fn1
andThen, carry, cartesian, censor, choose, cocartesian, diMap, diMapR, discardL, flatMap, fmap, lazyZip, listens, local, pure, self, thunk, toFunction, trampolineM, zip, zipMethods inherited from interface com.jnape.palatable.lambda.functions.Fn2
checkedApply, toBiFunction
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
GTEWith
private GTEWith()
-
-
Method Details
-
apply
Description copied from interface:Fn3Partially apply this function by taking its first argument. -
apply
Description copied from interface:Fn3Partially apply this function by taking its first two arguments. -
checkedApply
- Specified by:
checkedApplyin interfaceFn3<Comparator<A>,A, A, Boolean>
-
gteWith
-
gteWith
-
gteWith
-
gteWith
-