lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 24

ToIntBiFunction

public interface ToIntBiFunction

java.util.function.ToIntBiFunction<T, U>


Represents a function that accepts two arguments and produces an int-valued result. This is the int-producing primitive specialization for BiFunction.

This is a functional interface whose functional method is applyAsInt(Object, Object).

See also:

Summary

Public methods

abstract int applyAsInt(T t, U u)

Applies this function to the given arguments.

Public methods

applyAsInt

added in API level 24
public abstract int applyAsInt (T t, 
                U u)

Applies this function to the given arguments.

Parameters
t T: the first function argument

u U: the second function argument

Returns
int the function result