
uk.kludje.fn.nary.UHexaConsumer Maven / Gradle / Ivy
/*Generated file; do not edit*/
package uk.kludje.fn.nary;
/**
* A functional interface for handling checked exceptions.
* See parent type for intent.
*/
@java.lang.FunctionalInterface
@javax.annotation.Generated("uk.kludje.annotation.processor.UncheckedFunctionalInterfaceProcessor")
public interface UHexaConsumer extends uk.kludje.fn.nary.HexaConsumer {
/**
* Invokes {@code void $accept(A a, B b, C c, D d, E e, F f)}.
* Throws anything thrown by {@code void $accept(A a, B b, C c, D d, E e, F f)}.
*/
default void accept(A a, B b, C c, D d, E e, F f) {
try {
$accept(a,b,c,d,e,f);
} catch (Throwable throwable) {
throw uk.kludje.Exceptions.throwChecked(throwable);
}
}
void $accept(A a, B b, C c, D d, E e, F f) throws Throwable;
/**
* Convenience method as an alternative to casting.
*
* @param t the unchecked type
* @return t
*/
public static UHexaConsumer asUHexaConsumer(UHexaConsumer t) {
return t;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy