package com.mongodb.client.internal;
import com.mongodb.MongoNamespace;
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 Java8ListIndexesIterableImpl<TResult> extends ListIndexesIterableImpl<TResult> {
Java8ListIndexesIterableImpl(final @Nullable ClientSession clientSession, final MongoNamespace namespace,
final Class<TResult> resultClass, final CodecRegistry codecRegistry,
final ReadPreference readPreference, final OperationExecutor executor, final boolean retryReads) {
super(clientSession, namespace, resultClass, codecRegistry, readPreference, executor, retryReads);
}
@Override
public void forEach(final Consumer<? super TResult> action) {
Java8ForEachHelper.forEach(this, action);
}
}