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