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