Class MultiCollection.MultiIterator<E>

  • Type Parameters:
    E - is the type of elements in the collections.
    All Implemented Interfaces:
    Iterator<E>
    Enclosing class:
    MultiCollection<E>

    public static class MultiCollection.MultiIterator<E>
    extends Object
    implements Iterator<E>
    Iterator on multicollection.
    Version:
    17.0 2020-01-04 14:41:38
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    util
    • Constructor Detail

      • MultiIterator

        public MultiIterator​(Iterator<Collection<? extends E>> iterator)
        Construct the iterator.
        Parameters:
        iterator - original iterator.
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<E>
      • next

        public E next()
        Specified by:
        next in interface Iterator<E>