Interface CloseableIteration<E,​X extends Exception>

    • Method Detail

      • close

        void close()
            throws X extends Exception
        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