
com.mysema.commons.lang.CloseableIterator Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2010 Mysema Ltd.
* All rights reserved.
*
*/
package com.mysema.commons.lang;
import java.io.Closeable;
import java.util.Iterator;
/**
* Iterator with Closeable
*
* @author tiwe
* @version $Id$
*/
public interface CloseableIterator extends Iterator, Closeable {
/**
* Closes this iterator and releases any system resources associated
* with it. If the iterator is already closed then invoking this
* method has no effect.
*/
void close();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy