Interface Function2<T1,T2,R>

All Superinterfaces:
Serializable
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 interface Function2<T1,T2,R> extends Serializable

A two-argument function that takes arguments of type T1 and T2 and returns an R.

  • Method Summary

    Modifier and Type

    Method

    Description

    call(T1 v1, T2 v2)