Class AbstractIteratorDecorator<E>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractIteratorDecorator​(java.util.Iterator<E> iterator)
      Constructor that decorates the specified iterator.
    • Constructor Detail

      • AbstractIteratorDecorator

        protected AbstractIteratorDecorator​(java.util.Iterator<E> iterator)
        Constructor that decorates the specified iterator.
        Parameters:
        iterator - the iterator to decorate, must not be null
        Throws:
        java.lang.NullPointerException - if the iterator is null
    • Method Detail

      • next

        public E next()