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

org.codefilarete.tool.function.ThrowingExecutable Maven / Gradle / Ivy

package org.codefilarete.tool.function;

/**
 * @author Guillaume Mary
 */
@FunctionalInterface
public interface ThrowingExecutable {
	
	/**
	 * Execute some action and returns its result.
	 * Technically equivalent to {@link ThrowingSupplier} but differs by semantic (this method may take more time, is not just a provider) 
	 *
	 * @return a result
	 */
	T execute() throws E;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy