Class CmpEq<A extends Comparable<A>>
java.lang.Object
com.jnape.palatable.lambda.functions.builtin.fn2.CmpEq<A>
- Type Parameters:
A- the value type
- All Implemented Interfaces:
Fn1<A, Fn1<A,Boolean>>, Fn2<A, A, Boolean>, BiPredicate<A, A>, Applicative<Fn1<A, Boolean>, Fn1<A, ?>>, Cartesian<A, Fn1<A, Boolean>, Fn1<?, ?>>, Cocartesian<A, Fn1<A, Boolean>, Fn1<?, ?>>, Contravariant<A, Profunctor<?, Fn1<A, Boolean>, Fn1<?, ?>>>, Functor<Fn1<A, Boolean>, Fn1<A, ?>>, Profunctor<A, Fn1<A, Boolean>, Fn1<?, ?>>, Monad<Fn1<A, Boolean>, Fn1<A, ?>>, MonadReader<A, Fn1<A, Boolean>, Fn1<A, ?>>, MonadRec<Fn1<A, Boolean>, Fn1<A, ?>>, MonadWriter<A, Fn1<A, Boolean>, Fn1<A, ?>>
Given two
Comparable values of type A, return true if the first value is strictly
equal to the second value (according to Comparable.compareTo(Object); otherwise, return false.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckedApply(A x, A y) static <A extends Comparable<A>>
CmpEq<A> cmpEq()static <A extends Comparable<A>>
Predicate<A> cmpEq(A x) static <A extends Comparable<A>>
BooleancmpEq(A x, A y) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiPredicate
and, apply, contraMap, diMapL, discardR, flip, negate, or, toBiPredicate, uncurryMethods 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
apply, checkedApply, compose, toBiFunction, widen
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CmpEq
private CmpEq()
-
-
Method Details
-
checkedApply
- Specified by:
checkedApplyin interfaceFn2<A extends Comparable<A>, A extends Comparable<A>, Boolean>
-
cmpEq
-
cmpEq
-
cmpEq
-