Top Description Methods
io.smallrye.common.function

public Interface ExceptionObjLongFunction<T, R, E extends Exception>

Type Parameters
<T>
the first argument type
<R>
the result type
<E>
the exception type
Imports
java.util.Objects

A function which operates on an object and a long integer, yielding an object.

Method Summary

Modifier and TypeMethod and Description
public default <
the final return type
V
>
ExceptionObjLongFunction<T, V, E>

Returns:

a function that applies the given function to the result of this function
andThen
(ExceptionFunction<? super R, ? extends V, ? extends E>
the next function (must not be null)
after
)

Returns a function that applies the given function to the result of this function.

public R

Returns:

the function result
apply
(T
the first argument
arg1
,
long
the second argument
arg2
)

Applies this function to the given arguments.

Method Detail

andThenback to summary
public default <V> ExceptionObjLongFunction<T, V, E> andThen(ExceptionFunction<? super R, ? extends V, ? extends E> after)

Returns a function that applies the given function to the result of this function.

Parameters
<V>
the final return type
after:ExceptionFunction<? super R, ? extends V, ? extends E>

the next function (must not be null)

Returns:ExceptionObjLongFunction<T, V, E>

a function that applies the given function to the result of this function

applyback to summary
public R apply(T arg1, long arg2) throws ExceptionPredicate:E

Applies this function to the given arguments.

Parameters
arg1:T

the first argument

arg2:long

the second argument

Returns:R

the function result

Exceptions
ExceptionPredicate:E:
if an exception occurs