On this page

FailableBooleanSupplier

@FunctionalInterface public interface org.apache.commons.lang3.function.FailableBooleanSupplier<E extends Throwable>[source]

A functional interface like BooleanSupplier that declares a Throwable.

Type parameters:

<E> – The kind of thrown exception or error.

Since:

3.11

Methods

boolean

getAsBoolean()

Gets a boolean.

boolean getAsBoolean() throws E[source]

Gets a boolean.

Returns:

A result

Throws:

E – Thrown if the supplier fails.