ToIntBiFunction

  • ToIntBiFunction is a functional interface representing a function that takes two arguments and returns an int value.

  • It is a specialization of BiFunction for primitive int results.

  • The core method is applyAsInt(T, U), which applies the function to two given arguments and returns the int result.

public interface ToIntBiFunction

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

Public Method Summary

abstract int
applyAsInt(T t, U u)
Applies this function to the given arguments.

Public Methods

public abstract int applyAsInt (T t, U u)

Applies this function to the given arguments.

Parameters
t the first function argument
u the second function argument
Returns
  • the function result