org.fiolino.common.util.SupplierWithException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
General structure to easily create dynamic logic via MethodHandles and others.
package org.fiolino.common.util;
/**
* {@link java.util.function.Supplier}-like interface which allows the implementor to throw exceptions.
*
* Created by kuli on 19.06.17.
*/
@FunctionalInterface
public interface SupplierWithException {
/**
* Gets the value.
*/
T get() throws E;
}