Top Description Methods
io.smallrye.common.function

public Interface ExceptionToIntBiFunction<T, U, E extends Exception>

Annotations
@FunctionalInterface
Type Parameters
<T>
the first argument type
<U>
the second argument type
<E>
the exception type
Imports
io.smallrye.common.constraint.Assert

A two-argument function which can throw an exception.

Method Summary

Modifier and TypeMethod and Description
public default <
the final result type
R
>
ExceptionBiFunction<T, U, R, E>

Returns:

a function which applies the result of this function to the given function
andThen
(ExceptionIntFunction<R, E>
the next function (must not be null)
after
)

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

public default <
the final result type
R
>
ExceptionBiFunction<T, U, R, E>

Returns:

a function which applies the result of this function to the given function
andThen
(ExceptionLongFunction<R, E>
the next function (must not be null)
after
)

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

public int

Returns:

the function result
apply
(T
the first argument
t
,
U
the second argument
u
)

Apply this function to the given arguments.

Method Detail

andThenback to summary
public default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionIntFunction<R, E> after)

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

Parameters
<R>
the final result type
after:ExceptionIntFunction<R, E>

the next function (must not be null)

Returns:ExceptionBiFunction<T, U, R, E>

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

andThenback to summary
public default <R> ExceptionBiFunction<T, U, R, E> andThen(ExceptionLongFunction<R, E> after)

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

Parameters
<R>
the final result type
after:ExceptionLongFunction<R, E>

the next function (must not be null)

Returns:ExceptionBiFunction<T, U, R, E>

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

applyback to summary
public int apply(T t, U u) throws ExceptionPredicate:E

Apply this function to the given arguments.

Parameters
t:T

the first argument

u:U

the second argument

Returns:int

the function result

Exceptions
ExceptionPredicate:E:
if an exception occurs