# Uses of Interface
org.apache.commons.lang3.function.FailablePredicate

Packages that use FailablePredicate
Package
Description
org.apache.commons.lang3.function
Provides functional interfaces to complement those in `java.lang.function` and utilities for working with Java 8 lambdas.
org.apache.commons.lang3.stream
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 FailablePredicate
  Modifier and Type
  Field
  Description
  `static final FailablePredicate`
  FailablePredicate.`FALSE`
  FALSE singleton
  `static final FailablePredicate`
  FailablePredicate.`TRUE`
  TRUE singleton
  Methods in org.apache.commons.lang3.function that return FailablePredicate
  Modifier and Type
  Method
  Description
  `default FailablePredicate<T,E>`
  FailablePredicate.`and(FailablePredicate<? super T,E> other)`
  Returns a composed `FailablePredicate` like `Predicate.and(Predicate)`.
  `static <T, E extends Throwable>
  FailablePredicate<T,E>`
  FailablePredicate.`falsePredicate()`
  Returns 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 composed `FailablePredicate` like `Predicate.and(Predicate)`.
  `static <T, E extends Throwable>
  FailablePredicate<T,E>`
  FailablePredicate.`truePredicate()`
  Returns The TRUE singleton.
  Methods in org.apache.commons.lang3.function with parameters of type FailablePredicate
  Modifier and Type
  Method
  Description
  `default FailablePredicate<T,E>`
  FailablePredicate.`and(FailablePredicate<? super T,E> other)`
  Returns a composed `FailablePredicate` like `Predicate.and(Predicate)`.
  `static <T> Predicate<T>`
  Failable.`asPredicate(FailablePredicate<T,?> predicate)`
  Converts the given `FailablePredicate` into a standard `Predicate`.
  `default FailablePredicate<T,E>`
  FailablePredicate.`or(FailablePredicate<? super T,E> other)`
  Returns a composed `FailablePredicate` like `Predicate.and(Predicate)`.
  `static <T, E extends Throwable>
  boolean`
  Failable.`test(FailablePredicate<T,E> predicate, T object)`
  Tests a predicate and rethrows any exception as a `RuntimeException`.

- ## Uses of FailablePredicate in org.apache.commons.lang3.stream

  Methods in org.apache.commons.lang3.stream with parameters of type FailablePredicate
  Modifier and Type
  Method
  Description
  `boolean`
  Streams.FailableStream.`allMatch(FailablePredicate<T,?> predicate)`
  Returns whether all elements of this stream match the provided predicate.
  `boolean`
  Streams.FailableStream.`anyMatch(FailablePredicate<T,?> predicate)`
  Returns whether any elements of this stream match the provided predicate.
  `Streams.FailableStream<T>`
  Streams.FailableStream.`filter(FailablePredicate<T,?> predicate)`
  Returns a FailableStream consisting of the elements of this stream that match the given FailablePredicate.