org.molgenis.util.CloseableIterator Maven / Gradle / Ivy
package org.molgenis.util;
import java.util.Iterator;
/**
* Iterator that closes a resource if the decorated iterator is exhausted.
*
* If you stop iterating before the iterator is exhausted, you have to call close yourself
*
* @param
*/
public interface CloseableIterator extends Iterator {
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy