com.github.oxo42.stateless4j.delegates.Func2 Maven / Gradle / Ivy
package com.github.oxo42.stateless4j.delegates;
/**
* Represents a function that accepts an input and produces a result
*
* @param Input argument type
* @param Result type
*/
public interface Func2 {
/**
* Applies this function to the given input
*
* @param arg1 Input argument
* @return Result
*/
R call(T1 arg1);
}