Interface FunctionWithInt<S,V>

Type Parameters:
S - first parameter-type
V - return-type
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 FunctionWithInt<S,V>
Like Function but also accepts an int parameter.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(S first, int second)
    Calls the function.
  • Method Details

    • apply

      V apply(S first, int second)
      Calls the function.
      Parameters:
      first - first parameter.
      second - second parameter which is int.
      Returns:
      the return-value from the function.