Interface CloseableIteration<E,​X extends Exception>

    • Method Detail

      • stream

        default Stream<E> stream()
        Deprecated.
        Convert the results to a Java 8 Stream.
        Specified by:
        stream in interface Iteration<E,​X extends Exception>
        Returns:
        stream
      • close

        void close()
            throws X extends Exception
        Deprecated.
        Closes this iteration, freeing any resources that it is holding. If the iteration has already been closed then invoking this method has no effect.
        Specified by:
        close in interface AutoCloseable
        Throws:
        X extends Exception