Class CollectionsPlume.MergedIterator<T>

java.lang.Object
org.plumelib.util.CollectionsPlume.MergedIterator<T>
Type Parameters:
T - the type of elements of the iterator
All Implemented Interfaces:
Iterator<T>
Enclosing class:
CollectionsPlume

@Deprecated public static final class CollectionsPlume.MergedIterator<T> extends Object implements Iterator<T>
Deprecated.
use mergediterator()
An Iterator that returns the elements in each of its argument Iterators, in turn. The argument is an Iterator of Iterators. Like CollectionsPlume.MergedIterator2, but generalized to arbitrary number of iterators.
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext(@GuardSatisfied CollectionsPlume.MergedIterator<T> this)
      Deprecated.
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next(@GuardSatisfied CollectionsPlume.MergedIterator<T> this)
      Deprecated.
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove(@GuardSatisfied CollectionsPlume.MergedIterator<T> this)
      Deprecated.
      Specified by:
      remove in interface Iterator<T>