Interface ScriptEnginPlugin.TriFunction<T,U,V,R>

Enclosing class:
ScriptEnginPlugin
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ScriptEnginPlugin.TriFunction<T,U,V,R>
三参数函数式接口(java.util.function 只提供到 BiFunction)。 用于把 GraalJS 多参数调用直接映射到多个形参,替代旧的「数组取下标」写法。
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T t, U u, V v)
     
  • Method Details

    • apply

      R apply(T t, U u, V v)