Class AbstractCloseableIterator<E>

    • Constructor Detail

      • AbstractCloseableIterator

        public AbstractCloseableIterator()
    • Method Detail

      • isClosed

        public final boolean isClosed()
        Checks whether this Iterator has been closed.
        Returns:
        true if the Iterator has been closed, false otherwise.
      • handleClose

        protected void handleClose()
                            throws IOException
        Called by close() when it is called for the first time. This method is only called once on each iteration. By default, this method does nothing.
        Throws:
        X
        IOException