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

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

package com.opencredo.concourse.domain.functional;

import java.util.function.Function;

public interface UnsafeFunction {

    static  Function of(UnsafeFunction f) {
        return i -> UnsafeSupplier.invoke(() -> f.applyUnsafe(i));
    }

    O applyUnsafe(I input) throws Throwable;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy