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

com.opencredo.concourse.domain.functional.UnsafeSupplier Maven / Gradle / Ivy

package com.opencredo.concourse.domain.functional;

public interface UnsafeSupplier {

    static  T invoke(UnsafeSupplier f) throws E {
        try {
            return f.get();
        } catch (Throwable e) {
            throw (E) e;
        }
    }
    T get() throws Throwable;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy