接口 BiFunction<T,​U,​R>


public interface BiFunction<T,​U,​R>
Represents a function that accepts two arguments and produces a result. The following utility functions are extracted from org.apache.commons.lang3.

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

作者:
zongtanghu
  • 方法概要

    修饰符和类型
    方法
    说明
    apply​(T t, U u)
    Applies this function to the two given arguments.
  • 方法详细资料

    • apply

      R apply(T t, U u)
      Applies this function to the two given arguments.
      参数:
      t - the first function argument
      u - the second function argument
      返回:
      the function result