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

com.dahuatech.hutool.core.lang.Chain Maven / Gradle / Ivy

There is a newer version: 1.0.13.10
Show newest version
package com.dahuatech.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