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 TypeMethod and Description
public short

Returns:

a result
getAsShort
()

Supplies an int.

Method Detail

getAsShortback to summary
public short getAsShort() throws E

Supplies an int.

Returns:short

a result

Exceptions
E:
if the supplier fails