Package tenapull.util

Interface Lambda1<A,​R>

Type Parameters:
A - argument -- the type of the argument to be passed to the call method
R - return -- the type of the return value from the Lambda1

public interface Lambda1<A,​R>
One-argument lambda with a return value
  • Method Summary

    Modifier and Type Method Description
    R call​(A arg)
    Calls the lambda
  • Method Details

    • call

      R call​(A arg)
      Calls the lambda
      Parameters:
      arg - the argument to pass to the lambda
      Returns:
      the return value from the lambda