Class AbstractCloseableIteration<E>

    • Constructor Detail

      • AbstractCloseableIteration

        public AbstractCloseableIteration()
    • Method Detail

      • isClosed

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

        protected abstract void handleClose()
        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.