All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.apicurio.registry.utils.Functional Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy