Class LTWith<A>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn3.LTWith<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 for some type
A and two values of type A,
return true if the second value is strictly less than 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> LTWith<A> ltWith()static <A> BiPredicate<A, A> ltWith(Comparator<A> comparator) static <A> Predicate<A> ltWith(Comparator<A> comparator, A y) static <A> BooleanltWith(Comparator<A> comparator, A y, A x) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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 Fn2
checkedApply, toBiFunction
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
LTWith
private LTWith()
-
-
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. -
ltWith
-
ltWith
-
ltWith
-
ltWith
-
checkedApply
- Specified by:
checkedApplyin interfaceFn3<Comparator<A>, A, A, Boolean>
-