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

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

Go to download

Improved version of the DBus-Java library provided by freedesktop.org (https://dbus.freedesktop.org/doc/dbus-java/). This is the OSGi compliant bundle of all required libraries in one bundle.

The newest version!
package org.freedesktop.dbus.utils;

/**
 * Function which allows throwing any exception.
 *
 * @param  type of value
 * @param  type of result
 * @param  type of exception which gets thrown
 *
 * @author hypfvieh
 * @since v5.1.0 - 2024-07-12
 */
@FunctionalInterface
public interface IThrowingFunction {
    /**
     * Returns the result of the function or throws an exception.
     *
     * @return result of supplied function
     * @throws T exception
     */
    R apply(V _val) throws T;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy