Class IteratorUtil.AbstractIterator<T>

  • All Implemented Interfaces:
    Iterator<T>
    Enclosing class:
    IteratorUtil

    public abstract static class IteratorUtil.AbstractIterator<T>
    extends Object
    implements Iterator<T>
    • Constructor Detail

      • AbstractIterator

        public AbstractIterator()
    • Method Detail

      • hasNext

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

        public T next()
        Specified by:
        next in interface Iterator<T>
      • setNext

        protected final void setNext​(T t)
      • done

        protected final void done()
      • computeNext

        protected abstract void computeNext()