Class AbstractIteratorDecorator<E>

    • Constructor Detail

      • AbstractIteratorDecorator

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

      • next

        public E next()