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

org.freedesktop.dbus.utils.IThrowingSupplier Maven / Gradle / Ivy

Go to download

Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/).

There is a newer version: 5.1.0
Show newest version
package org.freedesktop.dbus.utils;

/**
 * Supplier which allows throwing any exception.
 *
 * @param  type which is supplied
 * @param  type of exception which gets thrown
 *
 * @author hypfvieh
 * @since v1.3.0 - 2023-01-12
 */
@FunctionalInterface
public interface IThrowingSupplier {
    /**
     * Returns the result of the supplier or throws an exception.
     *
     * @return result of supplied function
     * @throws T exception
     */
    V get() throws T;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy