Interface TreeNode<T>

All Superinterfaces:
Iterable<T>
All Known Implementing Classes:
ArrayNode, MapNode

public interface TreeNode<T> extends Iterable<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addChild(T... childs)
    SafeVarages:
    继承后替换为所属的泛型,此处泛型堆为安全接口。
    禁止直接序列化 TreeNode.

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator
  • Method Details

    • addChild

      void addChild(T... childs)
      SafeVarages:
      继承后替换为所属的泛型,此处泛型堆为安全接口。
      禁止直接序列化 TreeNode.
      Parameters:
      childs - The nodes.