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

no.nav.common.utils.fn.UnsafeBiConsumer Maven / Gradle / Ivy

package no.nav.common.utils.fn;

import lombok.SneakyThrows;

import java.util.function.BiConsumer;

@FunctionalInterface
public interface UnsafeBiConsumer extends BiConsumer {

    @Override
    @SneakyThrows
    default void accept(T t, U u) {
        unsafeAccept(t, u);
    }
    void unsafeAccept(T t, U u) throws Throwable;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy