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

cn.micro.core.function.CheckedConsumer Maven / Gradle / Ivy

package cn.micro.core.function;

import org.springframework.lang.Nullable;

import java.io.Serializable;

/**
 * 受检的 Consumer
 */
@FunctionalInterface
public interface CheckedConsumer extends Serializable {

	/**
	 * Run the Consumer
	 *
	 * @param t T
	 * @throws Throwable UncheckedException
	 */
	void accept(@Nullable T t) throws Throwable;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy