A
- the value typepublic final class CmpEq<A extends Comparable<A>> extends Object implements BiPredicate<A,A>
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.Modifier and Type | Method and Description |
---|---|
Boolean |
checkedApply(A x,
A y) |
static <A extends Comparable<A>> |
cmpEq() |
static <A extends Comparable<A>> |
cmpEq(A x) |
static <A extends Comparable<A>> |
cmpEq(A x,
A y) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, apply, contraMap, diMapL, discardR, flip, fromBiPredicate, negate, or, toBiPredicate, uncurry
apply, checkedApply, compose, curried, curry, fn2, fromBiFunction, toBiFunction, widen
public Boolean checkedApply(A x, A y)
checkedApply
in interface Fn2<A extends Comparable<A>,A extends Comparable<A>,Boolean>
public static <A extends Comparable<A>> CmpEq<A> cmpEq()
public static <A extends Comparable<A>> Predicate<A> cmpEq(A x)
public static <A extends Comparable<A>> Boolean cmpEq(A x, A y)