Class SilentIteration<T,​E extends java.lang.Exception>

    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
        Deprecated.
    • Method Detail

      • hasNext

        public boolean hasNext()
                        throws E extends java.lang.Exception
        Deprecated.
        Description copied from class: IterationWrapper
        Checks whether the wrapped Iteration contains more elements, closing this Iteration when this is not the case.
        Specified by:
        hasNext in interface Iteration<T,​E extends java.lang.Exception>
        Overrides:
        hasNext in class IterationWrapper<T,​E extends java.lang.Exception>
        Returns:
        true if the wrapped Iteration contains more elements, false otherwise.
        Throws:
        E extends java.lang.Exception
      • next

        public T next()
               throws E extends java.lang.Exception
        Deprecated.
        Description copied from class: IterationWrapper
        Returns the next element from the wrapped Iteration.
        Specified by:
        next in interface Iteration<T,​E extends java.lang.Exception>
        Overrides:
        next in class IterationWrapper<T,​E extends java.lang.Exception>
        Returns:
        the next element in the iteration.
        Throws:
        E extends java.lang.Exception
      • handleClose

        protected void handleClose()
                            throws E extends java.lang.Exception
        Deprecated.
        Description copied from class: IterationWrapper
        Closes this Iteration and also closes the wrapped Iteration if it is a CloseableIteration.
        Overrides:
        handleClose in class IterationWrapper<T,​E extends java.lang.Exception>
        Throws:
        E extends java.lang.Exception