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

org.macrocloud.kernel.toolkit.function.CheckedSupplier Maven / Gradle / Ivy

There is a newer version: 1.1.0-RELEASE
Show newest version

package org.macrocloud.kernel.toolkit.function;

import org.springframework.lang.Nullable;


/**
 * 受检的 Supplier.
 *
 * @author macro
 * @param  the generic type
 */
@FunctionalInterface
public interface CheckedSupplier {

	/**
	 * Run the Supplier.
	 *
	 * @return T
	 * @throws Throwable CheckedException
	 */
	@Nullable
	T get() throws Throwable;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy