Top Description Methods
io.smallrye.common.function

public Interface ObjLongFunction<T, R>

Type Parameters
<T>
the first argument type
<R>
the result type
Imports
java.util.Objects, java.util.function.Function

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
>
ObjLongFunction<T, V>

Returns:

a function that applies the given function to the result of this function
andThen
(Function<? super R, ? extends V>
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> ObjLongFunction<T, V> andThen(Function<? super R, ? extends V> after)

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

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

the next function (must not be null)

Returns:ObjLongFunction<T, V>

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

applyback to summary
public R apply(T arg1, long arg2)

Applies this function to the given arguments.

Parameters
arg1:T

the first argument

arg2:long

the second argument

Returns:R

the function result