程序包 cn.godmao.core

接口 IChain<E,T>

类型参数:
E - 元素类型
T - 目标类类型,用于返回this对象
所有超级接口:
Iterable<E>

public interface IChain<E,T> extends Iterable<E>
责任链接口
  • 方法详细资料

    • addChain

      T addChain(E element)
      加入责任链
      参数:
      element - 责任链新的环节元素
      返回:
      this