
io.apicurio.registry.utils.Functional Maven / Gradle / Ivy
package io.apicurio.registry.utils;
public final class Functional {
private Functional() {
}
@FunctionalInterface
public interface RunnableEx {
void run() throws X;
}
@FunctionalInterface
public interface Runnable1Ex {
void run(T value) throws X;
}
public static Runnable1Ex runnable1ExNoop() {
return x -> {
};
}
@FunctionalInterface
public interface FunctionEx {
R run() throws X;
}
@FunctionalInterface
public interface Function1Ex {
R run(T value) throws X;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy