Functions.FailableBiPredicate

@Deprecated @FunctionalInterface public abstract static interface org.apache.commons.lang3.Functions.FailableBiPredicate<O1, O2, T extends Throwable>[source]

A functional interface like BiPredicate that declares a Throwable.

TODO for 4.0: Move to org.apache.commons.lang3.function.

Parameters:
  • <O1> – Predicate type 1.

  • <O2> – Predicate type 2.

  • <T> – Thrown exception.

Methods

test(Object, Object)

Tests the predicate.

public abstract boolean test(O1 object1, O2 object2) throws T[source]

Tests the predicate.

Parameters:
  • object1 – The first object to test the predicate on

  • object2 – The second object to test the predicate on

Returns:

The predicate’s evaluation

Throws:

T – Thrown if the predicate fails.