Top Description Methods
io.smallrye.common.function

public Interface ObjIntFunction<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 an integer, yielding an object.

Method Summary

Modifier and TypeMethod and Description
public default <
the final return type
V
>
ObjIntFunction<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
,
int
the second argument
arg2
)

Applies this function to the given arguments.

Method Detail

andThenback to summary
public default <V> ObjIntFunction<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:ObjIntFunction<T, V>

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

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

Applies this function to the given arguments.

Parameters
arg1:T

the first argument

arg2:int

the second argument

Returns:R

the function result