Package com.globalmentor.io.function
Interface IOBooleanSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents a supplier of
boolean
-valued results. This is the boolean
-producing primitive specialization of IOSupplier
.
This interface is similar to BooleanSupplier
except that it is allowed to throw an IOException
.
- Author:
- Magno N A Cruz
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
This method is the same asBooleanSupplier.getAsBoolean()
, but with a support forIOException
.
-
Method Details
-
getAsBoolean
This method is the same as
BooleanSupplier.getAsBoolean()
, but with a support forIOException
.- Returns:
- A result.
- Throws:
IOException
- if there is an I/O error performing the operation.
-