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

org.robovm.libimobiledevice.util.Lambdas Maven / Gradle / Ivy

The newest version!
package org.robovm.libimobiledevice.util;

/**
 * Collection of lambda interface definitions that throws exception
 */
public final class Lambdas {
    @FunctionalInterface
    public interface CheckedConsumer {
        void accept(T t) throws Exception;
    }

    @FunctionalInterface
    public interface CheckedSupplier {
        T get() throws Exception;
    }

    @FunctionalInterface
    public interface CheckedFunction {
        R apply(T t) throws Exception;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy