commons-lang3 3.20.0
org.apache.commons.lang3.function
FailableIntSupplier
Top
Description
Methods
org.apache.commons.lang3.function
public
Interface FailableIntSupplier<
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
that declares a
Throwable
.
Since
3.11
Method Summary
Modifier and Type
Method and Description
public
int
Returns:
a result
getAsInt
()
Supplies an int.
Method Detail
getAsInt
back to summary
public
int
getAsInt
()
throws
E
Supplies an int.
Returns:
int
a result
Exceptions
E
:
if the supplier fails