marcel.lang.lambda.Lambda1 Maven / Gradle / Ivy
package marcel.lang.lambda;
import java.util.function.Function;
public interface Lambda1 extends Lambda, Runnable, Function {
R invoke(T arg0);
default void run() {
invoke(null);
}
@Override
default R apply(T t) {
return invoke(t);
}
}