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

19 lines
432 B
Java
Raw Normal View History

package it.cavallium.dbengine.lucene;
2022-06-30 15:06:10 +02:00
import it.cavallium.dbengine.database.DiscardingCloseable;
import it.cavallium.dbengine.database.SafeCloseable;
import java.io.Closeable;
import java.io.IOException;
import java.util.Iterator;
import org.jetbrains.annotations.NotNull;
2022-06-30 15:06:10 +02:00
public interface CloseableIterable<T> extends Iterable<T>, DiscardingCloseable {
@Override
void close();
@NotNull
@Override
Iterator<T> iterator();
}