IFunction

public interface IFunction<T, R>

Functional interface that takes one parameter and returns a value.

Parameters:
  • <T> – The parameter type.
  • <R> – The return type.

Methods

accept

R accept(T parInput)

Performs this operation on the given argument and returns the result.

Parameters:
  • parInput – The input argument.
Returns:

The processed value.