On this page

ToBooleanBiFunction

@FunctionalInterface public abstract interface org.apache.commons.lang3.function.ToBooleanBiFunction<T, U>[source]

A function that accepts two arguments and produces a boolean result. This is the boolean-producing primitive specialization for BiFunction.

Parameters:
  • <T> – The type of the first argument to the function.

  • <U> – The type of the second argument to the function.

See also:

BiFunction

Since:

3.12.0

Methods

applyAsBoolean(Object, Object)

Applies this function to the given arguments.

public abstract boolean applyAsBoolean(T t, U u)[source]

Applies this function to the given arguments.

Parameters:
  • t – The first function argument.

  • u – The second function argument.

Returns:

The function result.