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

public Interface CheckedLongToIntFunction

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

A LongToIntFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the function result
applyAsInt
(long
the function argument
value
)

Applies this function to the given argument.

public static LongToIntFunction
public static LongToIntFunction
public static LongToIntFunction

Method Detail

applyAsIntback to summary
public int applyAsInt(long value) throws Throwable

Applies this function to the given argument.

Parameters
value:long

the function argument

Returns:int

the function result

sneakyback to summary
public static LongToIntFunction sneaky(CheckedLongToIntFunction function)
See Also
Sneaky#longToIntFunction(CheckedLongToIntFunction)
uncheckedback to summary
public static LongToIntFunction unchecked(CheckedLongToIntFunction function)
See Also
Unchecked#longToIntFunction(CheckedLongToIntFunction)
uncheckedback to summary
public static LongToIntFunction unchecked(CheckedLongToIntFunction function, Consumer<Throwable> handler)
See Also
Unchecked#longToIntFunction(CheckedLongToIntFunction, Consumer)