commons-lang3 3.20.0
org.apache.commons.lang3.function
FailableBooleanSupplier
Top
Description
Methods
org.apache.commons.lang3.function
public
Interface FailableBooleanSupplier<
E extends
Throwable
>
Annotations
@FunctionalInterface
Type Parameters
<E>
The kind of thrown exception or error.
Imports
java.
util.
function.
BooleanSupplier
A functional interface like
BooleanSupplier
that declares a
Throwable
.
Since
3.11
Method Summary
Modifier and Type
Method and Description
public
boolean
Returns:
a result
getAsBoolean
()
Supplies a boolean.
Method Detail
getAsBoolean
back to summary
public
boolean
getAsBoolean
()
throws
E
Supplies a boolean.
Returns:
boolean
a result
Exceptions
E
:
if the supplier fails