接口 MapFunction<T,​R>

  • 函数接口:
    这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

    @FunctionalInterface
    public interface MapFunction<T,​R>
    数组映射接口
    作者:
    qiuzhenhao
    • 方法详细资料

      • apply

        R apply​(T t,
                int index)
        映射方法
        参数:
        t - 数组元素
        index - 索引
        返回:
        转换后的对象