Class GTWith<A>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn3.GTWith<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 strictly greater than the first value in
terms of their mapped B
results; 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> GTWith
<A> gtWith()
static <A> BiPredicate
<A, A> gtWith
(Comparator<A> comparator) static <A> Predicate
<A> gtWith
(Comparator<A> comparator, A y) static <A> Boolean
gtWith
(Comparator<A> comparator, A y, A x) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, zip
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn2
checkedApply, toBiFunction
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
GTWith
private GTWith()
-
-
Method Details
-
apply
Description copied from interface:Fn3
Partially apply this function by taking its first argument. -
apply
Description copied from interface:Fn3
Partially apply this function by taking its first two arguments. -
gtWith
-
gtWith
-
gtWith
-
gtWith
-
checkedApply
- Specified by:
checkedApply
in interfaceFn3<Comparator<A>,
A, A, Boolean>
-