package com.mongodb.client.internal;
import com.mongodb.ReadPreference;
import com.mongodb.client.ClientSession;
import com.mongodb.lang.Nullable;
import org.bson.codecs.configuration.CodecRegistry;
import java.util.function.Consumer;
class Java8ListDatabasesIterableImpl<TResult> extends ListDatabasesIterableImpl<TResult> {
Java8ListDatabasesIterableImpl(final @Nullable ClientSession clientSession, final Class<TResult> resultClass,
final CodecRegistry codecRegistry, final ReadPreference readPreference,
final OperationExecutor executor, final boolean retryReads) {
super(clientSession, resultClass, codecRegistry, readPreference, executor, retryReads);
}
@Override
public void forEach(final Consumer<? super TResult> action) {
Java8ForEachHelper.forEach(this, action);
}
}