CavalliumDBEngine/src/main/java/it/cavallium/dbengine/lucene/CloseableIterable.java

18 lines
367 B
Java
Raw Normal View History

package it.cavallium.dbengine.lucene;
import it.cavallium.dbengine.database.SafeCloseable;
import java.io.Closeable;
import java.io.IOException;
import java.util.Iterator;
import org.jetbrains.annotations.NotNull;
public interface CloseableIterable<T> extends Iterable<T>, SafeCloseable {
@Override
void close();
@NotNull
@Override
Iterator<T> iterator();
}