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

com.xiaoleilu.hutool.lang.Chain Maven / Gradle / Ivy

package com.xiaoleilu.hutool.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