Class LTEWith<A>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn3.LTEWith<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 less 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> LTEWith
<A> lteWith()
static <A> BiPredicate
<A, A> lteWith
(Comparator<A> comparator) static <A> Predicate
<A> lteWith
(Comparator<A> comparator, A y) static <A> Boolean
lteWith
(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
-
LTEWith
private LTEWith()
-
-
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. -
checkedApply
- Specified by:
checkedApply
in interfaceFn3<Comparator<A>,
A, A, Boolean>
-
lteWith
-
lteWith
-
lteWith
-
lteWith
-