Uses of Interface
com.jnape.palatable.lambda.functions.specialized.BiPredicate
-
-
Uses of BiPredicate in com.jnape.palatable.lambda.functions.builtin.fn1
Classes in com.jnape.palatable.lambda.functions.builtin.fn1 that implement BiPredicate Modifier and Type Class Description class
Not<A>
Negate a predicate function. -
Uses of BiPredicate in com.jnape.palatable.lambda.functions.builtin.fn2
Classes in com.jnape.palatable.lambda.functions.builtin.fn2 that implement BiPredicate Modifier and Type Class Description class
All<A>
Eagerly apply a predicate to each element in anIterable
, returningtrue
if every element satisfies the predicate, andfalse
otherwise.class
Any<A>
Eagerly apply a predicate to each element in anIterable
, returningtrue
if any element satisfies the predicate, andfalse
otherwise.class
CmpEq<A extends java.lang.Comparable<A>>
Given twoComparable
values of typeA
, returntrue
if the first value is strictly equal to the second value (according toComparable.compareTo(Object)
; otherwise, return false.class
Eq<A>
Type-safe equality in function form; usesObject.equals(java.lang.Object)
, not==
.class
GT<A extends java.lang.Comparable<A>>
Given twoComparable
values of typeA
, returntrue
if the second value is strictly greater than the first value; otherwise, return false.class
GTE<A extends java.lang.Comparable<A>>
Given twoComparable
values of typeA
, returntrue
if the second value is greater than or equal to the first value according toComparable.compareTo(Object)
; otherwise, return false.class
LT<A extends java.lang.Comparable<A>>
Given twoComparable
values of typeA
, returntrue
if the second value is strictly less than the first value; otherwise, return false.class
LTE<A extends java.lang.Comparable<A>>
Given twoComparable
values of typeA
, returntrue
if the second value is less than or equal to the first value according toComparable.compareTo(Object)
otherwise, return false. -
Uses of BiPredicate in com.jnape.palatable.lambda.functions.builtin.fn3
Methods in com.jnape.palatable.lambda.functions.builtin.fn3 that return BiPredicate Modifier and Type Method Description BiPredicate<A,A>
CmpEqBy. apply(Fn1<? super A,? extends B> compareFn)
BiPredicate<A,A>
CmpEqWith. apply(java.util.Comparator<A> compareFn)
BiPredicate<A,A>
GTBy. apply(Fn1<? super A,? extends B> compareFn)
BiPredicate<A,A>
GTEBy. apply(Fn1<? super A,? extends B> compareFn)
BiPredicate<A,A>
GTEWith. apply(java.util.Comparator<A> compareFn)
BiPredicate<A,A>
GTWith. apply(java.util.Comparator<A> compareFn)
BiPredicate<A,A>
LTBy. apply(Fn1<? super A,? extends B> compareFn)
BiPredicate<A,A>
LTEBy. apply(Fn1<? super A,? extends B> compareFn)
BiPredicate<A,A>
LTEWith. apply(java.util.Comparator<A> compareFn)
BiPredicate<A,A>
LTWith. apply(java.util.Comparator<A> compareFn)
static <A extends java.lang.Comparable<A>>
BiPredicate<A,A>Between. between(A lower)
static <A,B extends java.lang.Comparable<B>>
BiPredicate<A,A>CmpEqBy. cmpEqBy(Fn1<? super A,? extends B> compareFn)
static <A> BiPredicate<A,A>
CmpEqWith. cmpEqWith(java.util.Comparator<A> comparator)
static <A,B extends java.lang.Comparable<B>>
BiPredicate<A,A>GTBy. gtBy(Fn1<? super A,? extends B> fn)
static <A,B extends java.lang.Comparable<B>>
BiPredicate<A,A>GTEBy. gteBy(Fn1<? super A,? extends B> fn)
static <A> BiPredicate<A,A>
GTEWith. gteWith(java.util.Comparator<A> comparator)
static <A> BiPredicate<A,A>
GTWith. gtWith(java.util.Comparator<A> comparator)
static <A,B extends java.lang.Comparable<B>>
BiPredicate<A,A>LTBy. ltBy(Fn1<? super A,? extends B> fn)
static <A,B extends java.lang.Comparable<B>>
BiPredicate<A,A>LTEBy. lteBy(Fn1<? super A,? extends B> fn)
static <A> BiPredicate<A,A>
LTEWith. lteWith(java.util.Comparator<A> comparator)
static <A> BiPredicate<A,A>
LTWith. ltWith(java.util.Comparator<A> comparator)
-
Uses of BiPredicate in com.jnape.palatable.lambda.functions.specialized
Methods in com.jnape.palatable.lambda.functions.specialized that return BiPredicate Modifier and Type Method Description default BiPredicate<A,B>
BiPredicate. and(BiPredicate<? super A,? super B> other)
Left-to-right short-circuiting logical conjunction.default <Y,Z>
BiPredicate<Y,Z>Predicate. compose(Fn2<? super Y,? super Z,? extends A> before)
Right-to-left composition between different arity functions.default <Z> BiPredicate<Z,B>
BiPredicate. diMapL(Fn1<? super Z,? extends A> fn)
Contravariantly map over the argument to this function, producing a function that takes the new argument type, and produces the same result.default <D> BiPredicate<A,B>
BiPredicate. discardR(Applicative<D,Fn1<A,?>> appB)
Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.default BiPredicate<B,A>
BiPredicate. flip()
Flip the order of the arguments.static <A,B>
BiPredicate<A,B>BiPredicate. fromBiPredicate(java.util.function.BiPredicate<A,B> biPredicate)
Create aBiPredicate
from a javaBiPredicate
.default BiPredicate<A,B>
BiPredicate. negate()
Logical negation.default BiPredicate<A,B>
BiPredicate. or(BiPredicate<? super A,? super B> other)
Left-to-right short-circuiting logical disjunction.default <Z> BiPredicate<Z,A>
Predicate. widen()
Widen this function's argument list by prepending an ignored argument of any type to the front.Methods in com.jnape.palatable.lambda.functions.specialized with parameters of type BiPredicate Modifier and Type Method Description default BiPredicate<A,B>
BiPredicate. and(BiPredicate<? super A,? super B> other)
Left-to-right short-circuiting logical conjunction.default BiPredicate<A,B>
BiPredicate. or(BiPredicate<? super A,? super B> other)
Left-to-right short-circuiting logical disjunction. -
Uses of BiPredicate in com.jnape.palatable.lambda.monoid.builtin
Classes in com.jnape.palatable.lambda.monoid.builtin that implement BiPredicate Modifier and Type Class Description class
And
AMonoid
instance formed byBoolean
.class
Or
AMonoid
instance formed byBoolean
.class
Xor
Logical exclusive-or.
-