Uses of Interface
com.jnape.palatable.lambda.functions.specialized.Predicate
-
-
Uses of Predicate in com.jnape.palatable.lambda.functions.builtin.fn1
Classes in com.jnape.palatable.lambda.functions.builtin.fn1 that implement Predicate Modifier and Type Class Description classEmpty<A>A predicate that returns true ifasis empty; false otherwise.Methods in com.jnape.palatable.lambda.functions.builtin.fn1 that return Predicate Modifier and Type Method Description static <A> Predicate<A>Not. not(Fn1<? super A,? extends java.lang.Boolean> pred) -
Uses of Predicate in com.jnape.palatable.lambda.functions.builtin.fn2
Methods in com.jnape.palatable.lambda.functions.builtin.fn2 that return Predicate Modifier and Type Method Description static <A> Predicate<java.lang.Iterable<A>>Any. any(Fn1<? super A,? extends java.lang.Boolean> predicate)static <A extends java.lang.Comparable<A>>
Predicate<A>CmpEq. cmpEq(A x)static <A> Predicate<A>Eq. eq(A x)static <A extends java.lang.Comparable<A>>
Predicate<A>GT. gt(A y)static <A extends java.lang.Comparable<A>>
Predicate<A>GTE. gte(A y)static <A extends java.lang.Comparable<A>>
Predicate<A>LT. lt(A y)static <A extends java.lang.Comparable<A>>
Predicate<A>LTE. lte(A y) -
Uses of Predicate in com.jnape.palatable.lambda.functions.builtin.fn3
Methods in com.jnape.palatable.lambda.functions.builtin.fn3 that return Predicate Modifier and Type Method Description Predicate<A>CmpEqBy. apply(Fn1<? super A,? extends B> compareFn, A x)Predicate<A>CmpEqWith. apply(java.util.Comparator<A> compareFn, A x)Predicate<A>GTBy. apply(Fn1<? super A,? extends B> compareFn, A x)Predicate<A>GTEBy. apply(Fn1<? super A,? extends B> compareFn, A y)Predicate<A>GTEWith. apply(java.util.Comparator<A> compareFn, A x)Predicate<A>GTWith. apply(java.util.Comparator<A> compareFn, A x)Predicate<A>LTBy. apply(Fn1<? super A,? extends B> compareFn, A y)Predicate<A>LTEBy. apply(Fn1<? super A,? extends B> compareFn, A y)Predicate<A>LTEWith. apply(java.util.Comparator<A> compareFn, A x)Predicate<A>LTWith. apply(java.util.Comparator<A> compareFn, A x)static <A extends java.lang.Comparable<A>>
Predicate<A>Between. between(A lower, A upper)static <A,B extends java.lang.Comparable<B>>
Predicate<A>CmpEqBy. cmpEqBy(Fn1<? super A,? extends B> compareFn, A x)static <A> Predicate<A>CmpEqWith. cmpEqWith(java.util.Comparator<A> comparator, A x)static <A,B extends java.lang.Comparable<B>>
Predicate<A>GTBy. gtBy(Fn1<? super A,? extends B> fn, A y)static <A,B extends java.lang.Comparable<B>>
Predicate<A>GTEBy. gteBy(Fn1<? super A,? extends B> fn, A y)static <A> Predicate<A>GTEWith. gteWith(java.util.Comparator<A> comparator, A y)static <A> Predicate<A>GTWith. gtWith(java.util.Comparator<A> comparator, A y)static <A,B extends java.lang.Comparable<B>>
Predicate<A>LTBy. ltBy(Fn1<? super A,? extends B> fn, A y)static <A,B extends java.lang.Comparable<B>>
Predicate<A>LTEBy. lteBy(Fn1<? super A,? extends B> fn, A y)static <A> Predicate<A>LTEWith. lteWith(java.util.Comparator<A> comparator, A y)static <A> Predicate<A>LTWith. ltWith(java.util.Comparator<A> comparator, A y) -
Uses of Predicate in com.jnape.palatable.lambda.functions.specialized
Methods in com.jnape.palatable.lambda.functions.specialized that return Predicate Modifier and Type Method Description default Predicate<A>Predicate. and(Predicate<? super A> other)Left-to-right short-circuiting logical conjunction.default Predicate<B>BiPredicate. apply(A a)Partially apply this function by passing its first argument.default <Z> Predicate<Z>Predicate. contraMap(Fn1<? super Z,? extends A> fn)Contravariantly mapA <- B.default <Z> Predicate<Z>Predicate. 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 <C> Predicate<A>Predicate. discardR(Applicative<C,Fn1<A,?>> appB)Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.static <A> Predicate<A>Predicate. fromPredicate(java.util.function.Predicate<A> predicate)Create aPredicatefrom a javaPredicate.default Predicate<A>Predicate. negate()Logical negation.default Predicate<A>Predicate. or(Predicate<? super A> other)Left-to-right short-circuiting logical disjunction.static <A> Predicate<A>Predicate. predicate(Fn1<? super A,? extends java.lang.Boolean> predicate)Static factory method to create a predicate from anFn1.default Predicate<? super Product2<? extends A,? extends B>>BiPredicate. uncurry()Methods in com.jnape.palatable.lambda.functions.specialized with parameters of type Predicate Modifier and Type Method Description default Predicate<A>Predicate. and(Predicate<? super A> other)Left-to-right short-circuiting logical conjunction.default Predicate<A>Predicate. or(Predicate<? super A> other)Left-to-right short-circuiting logical disjunction.
-