Uses of Interface
org.apache.commons.lang3.function.FailablePredicate
Packages that use FailablePredicate
Package
Description
Provides functional interfaces to complement those in
java.lang.function and utilities for working with Java
8 lambdas.Provides utility classes to complement those in
java.util.stream.-
Uses of FailablePredicate in org.apache.commons.lang3.function
Fields in org.apache.commons.lang3.function declared as FailablePredicateModifier and TypeFieldDescriptionstatic final FailablePredicateFailablePredicate.FALSEFALSE singletonstatic final FailablePredicateFailablePredicate.TRUETRUE singletonMethods in org.apache.commons.lang3.function that return FailablePredicateModifier and TypeMethodDescriptiondefault FailablePredicate<T, E> FailablePredicate.and(FailablePredicate<? super T, E> other) Returns a composedFailablePredicatelikePredicate.and(Predicate).static <T,E extends Throwable>
FailablePredicate<T, E> FailablePredicate.falsePredicate()Gets the FALSE singleton.default FailablePredicate<T, E> FailablePredicate.negate()Returns a predicate that negates this predicate.default FailablePredicate<T, E> FailablePredicate.or(FailablePredicate<? super T, E> other) Returns a composedFailablePredicatelikePredicate.and(Predicate).static <T,E extends Throwable>
FailablePredicate<T, E> FailablePredicate.truePredicate()Gets the TRUE singleton.Methods in org.apache.commons.lang3.function with parameters of type FailablePredicateModifier and TypeMethodDescriptiondefault FailablePredicate<T, E> FailablePredicate.and(FailablePredicate<? super T, E> other) Returns a composedFailablePredicatelikePredicate.and(Predicate).static <T> Predicate<T> Failable.asPredicate(FailablePredicate<T, ?> predicate) Converts the givenFailablePredicateinto a standardPredicate.default FailablePredicate<T, E> FailablePredicate.or(FailablePredicate<? super T, E> other) Returns a composedFailablePredicatelikePredicate.and(Predicate).static <T,E extends Throwable>
booleanFailable.test(FailablePredicate<T, E> predicate, T object) Tests a predicate and rethrows any exception as aRuntimeException. -
Uses of FailablePredicate in org.apache.commons.lang3.stream
Methods in org.apache.commons.lang3.stream with parameters of type FailablePredicateModifier and TypeMethodDescriptionbooleanStreams.FailableStream.allMatch(FailablePredicate<T, ?> predicate) Returns whether all elements of this stream match the provided predicate.booleanStreams.FailableStream.anyMatch(FailablePredicate<T, ?> predicate) Returns whether any elements of this stream match the provided predicate.Streams.FailableStream.filter(FailablePredicate<T, ?> predicate) Returns a FailableStream consisting of the elements of this stream that match the given FailablePredicate.