CompositeIterator
CompositeIterator
可包括多个Iterator的Iterator
Set<Iterator<E>> iterators = new LinkedHashSet<>();
#public void add(Iterator<E> iterator) 新增一个iterator,同一个iterator只可add 1次
#public boolean hasNext() 以迭代方式挨个对Iterator进行hasNext
#public E next() 以迭代方式挨个对Iterator进行hasNext&&next
#public void remove() throw new UnsupportedOperationException("CompositeIterator does not support remove()");