addAll method

void addAll(
  1. Iterable<N> nodes
)

添加多个节点

Implementation

void addAll(Iterable<N> nodes) {
  nodes.forEach(add);
}