Interface Chain<E,T>

Type Parameters:
E - 元素类型
T - 目标类类型,用于返回this对象
All Superinterfaces:
Iterable<E>
All Known Implementing Classes:
Html4Escape, Html4Unescape, ReplacerChain, XmlEscape, XmlUnescape

public interface Chain<E,T> extends Iterable<E>
责任链接口
Author:
Looly
  • Method Summary

    Modifier and Type
    Method
    Description
    addChain(E element)
    加入责任链

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • addChain

      T addChain(E element)
      加入责任链
      Parameters:
      element - 责任链新的环节元素
      Returns:
      this