org.kohsuke.github.function.FunctionThrows Maven / Gradle / Ivy
package org.kohsuke.github.function;
/**
* A functional interface, equivalent to {@link java.util.function.Function} but that allows throwing {@link Throwable}
*
* @param
* the type of input
* @param
* the type of output
* @param
* the type of error
*/
@FunctionalInterface
public interface FunctionThrows {
/**
* Apply r.
*
* @param input
* the input
* @return the r
* @throws E
* the e
*/
R apply(T input) throws E;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy