
cn.micro.core.function.CheckedSupplier Maven / Gradle / Ivy
package cn.micro.core.function;
import org.springframework.lang.Nullable;
import java.io.Serializable;
/**
* 受检的 Supplier
*/
@FunctionalInterface
public interface CheckedSupplier extends Serializable {
/**
* Run the Supplier
*
* @return T
* @throws Throwable CheckedException
*/
@Nullable
T get() throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy