T
- see ToIntBiFunction
U
- see ToIntBiFunction
@FunctionalInterface public interface ThrowingToIntBiFunction<T,U>
ToIntBiFunction
that allows throwing checked exceptions. ThrowingToIntBiFunction
is usually implemented by a lambda and passed to CheckedExceptionHandler.fromToIntBiFunction(ThrowingToIntBiFunction)
. See noexception tutorial.
Modifier and Type | Method and Description |
---|---|
int |
applyAsInt(T t, U u)
Variation of ToIntBiFunction.applyAsInt(Object, Object) that allows throwing checked exceptions.
|
int applyAsInt(T t, U u) throws Throwable
ToIntBiFunction.applyAsInt(Object, Object)
that allows throwing checked exceptions.
t
- see ToIntBiFunction.applyAsInt(Object, Object)
u
- see ToIntBiFunction.applyAsInt(Object, Object)
ToIntBiFunction.applyAsInt(Object, Object)
Throwable
- if unable to complete
CheckedExceptionHandler.fromToIntBiFunction(ThrowingToIntBiFunction)
, ToIntBiFunction.applyAsInt(Object, Object)
Copyright © 2017–2020 Robert Važan. All rights reserved.