Class TextElementIteratorsFactory.ComposedIterator<E>

java.lang.Object
com.github.javaparser.printer.lexicalpreservation.TextElementIteratorsFactory.ComposedIterator<E>
All Implemented Interfaces:
Iterator<E>
Enclosing class:
TextElementIteratorsFactory

static class TextElementIteratorsFactory.ComposedIterator<E> extends Object implements Iterator<E>
  • Field Details

    • elements

      private final List<Iterator<E>> elements
    • currIndex

      private int currIndex
  • Constructor Details

  • Method Details

    • hasNext

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

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

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