org.apache.spark.api.java.function
Interface Function2<T1,T2,R>

All Superinterfaces:
java.io.Serializable

public interface Function2<T1,T2,R>
extends java.io.Serializable

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


Method Summary
 R call(T1 v1, T2 v2)
           
 

Method Detail

call

R call(T1 v1,
       T2 v2)
       throws Exception
Throws:
Exception