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