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

cn.hutool.core.lang.Chain Maven / Gradle / Ivy

The newest version!
package cn.hutool.core.lang;

/**
 * 责任链接口
 * @author Looly
 *
 * @param  元素类型
 * @param  目标类类型,用于返回this对象
 */
public interface Chain extends Iterable{
	/**
	 * 加入责任链
	 * @param element 责任链新的环节元素
	 * @return this
	 */
	T addChain(E element);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy