Module io.smallrye.common.function
Package io.smallrye.common.function
Interface ObjIntFunction<T,R>
- Type Parameters:
T- the first argument typeR- the result type
public interface ObjIntFunction<T,R>
A function which operates on an object and an integer, yielding an object.
-
Method Summary
-
Method Details
-
apply
Applies this function to the given arguments.- Parameters:
arg1- the first argumentarg2- the second argument- Returns:
- the function result
-
andThen
Returns a function that applies the given function to the result of this function.- Type Parameters:
V- the final return type- Parameters:
after- the next function (must not benull)- Returns:
- a function that applies the given function to the result of this function
-