io.lightflame.bootstrap.Flame Maven / Gradle / Ivy
The newest version!
package io.lightflame.bootstrap;
import java.util.Objects;
@FunctionalInterface
public interface Flame {
R apply(T ctx) throws Exception;
default Flame and(Flame after) {
Objects.requireNonNull(after);
return (t) -> after.apply(this.apply(t));
}
}