Top Description Methods
org.jooq.lambda.fi.util.function

public Interface CheckedLongSupplier

Annotations
@FunctionalInterface
Imports
java.util.function.Consumer, .LongSupplier, org.jooq.lambda.Sneaky, .Unchecked

A LongSupplier that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

a result
getAsLong
()

Gets a result.

public static LongSupplier
public static LongSupplier
public static LongSupplier

Method Detail

getAsLongback to summary
public long getAsLong() throws Throwable

Gets a result.

Returns:long

a result

sneakyback to summary
public static LongSupplier sneaky(CheckedLongSupplier supplier)
See Also
Sneaky#longSupplier(CheckedLongSupplier)
uncheckedback to summary
public static LongSupplier unchecked(CheckedLongSupplier supplier)
See Also
Unchecked#longSupplier(CheckedLongSupplier)
uncheckedback to summary
public static LongSupplier unchecked(CheckedLongSupplier supplier, Consumer<Throwable> handler)
See Also
Unchecked#longSupplier(CheckedLongSupplier, Consumer)