Class HandlerBackedIterator<T>

  • All Implemented Interfaces:
    CloseableIterator<T>, java.lang.AutoCloseable, java.util.Iterator<T>

    public class HandlerBackedIterator<T>
    extends CloseableIterator.AbstractCloseableIterator<T>
    An adapter for converting push-based data processing (aka handler-based) to pull-based data processing (aka iterator-based).
    Since:
    7.4.6
    Author:
    Pavel Klinov
    • Method Detail

      • close

        public void close()
      • computeNext

        protected T computeNext()
        Specified by:
        computeNext in class com.google.common.collect.AbstractIterator<T>