com.sta.mutils.ThrowingSupplier Maven / Gradle / Ivy
package com.sta.mutils;
/**
* Name: ThrowingSupplier
* Description: Funktionales Interface, um einen Supplier verwenden zu k?nnen, der eine Exception wirft.
* @param the type of results supplied by this supplier
* @param Klasse der Exception, die ggf. geworfen wird
*
* Comment: ...
*
* Copyright: Copyright (c) 2021
* Company: >StA-Soft<
* @author StA
* @version 1.0
*/
@FunctionalInterface
public interface ThrowingSupplier
{
/**
* Gets a result.
* @return a result
* @throws E Exception
*/
R get() throws E;
}