Package tenapull.util

Interface Lambda2<A,​B,​R>

Type Parameters:
A - argument1 -- the type of the first argument to be passed to the call method
B - argument2 -- the type of the second argument to be passed to the call method
R - the return type

public interface Lambda2<A,​B,​R>
Two-argument lambda with a return value
  • Method Summary

    Modifier and Type Method Description
    R call​(A arg1, B arg2)
    Call the lambda
  • Method Details

    • call

      R call​(A arg1, B arg2)
      Call the lambda
      Parameters:
      arg1 - the first argument to the lambda
      arg2 - the second argument to the lambda
      Returns:
      the return value from the lambda