- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
BooleanSupplier
that allows for checked exceptions.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets a result.static BooleanSupplier
sneaky
(CheckedBooleanSupplier supplier) static BooleanSupplier
unchecked
(CheckedBooleanSupplier supplier) static BooleanSupplier
unchecked
(CheckedBooleanSupplier supplier, Consumer<Throwable> handler)
-
Method Details
-
getAsBoolean
Gets a result.- Returns:
- a result
- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
-