package o; import java.util.HashSet; import java.util.Iterator; /* renamed from: o.gdu, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ final class C14989gdu extends AbstractC14865gaf { private final Iterator b; private final InterfaceC14894gbR c; private final HashSet d; /* JADX WARN: Multi-variable type inference failed */ public C14989gdu(Iterator it, InterfaceC14894gbR interfaceC14894gbR) { C14957gcv.e(it, ""); C14957gcv.e(interfaceC14894gbR, ""); this.b = it; this.c = interfaceC14894gbR; this.d = new HashSet<>(); } @Override // o.AbstractC14865gaf public final void a() { while (this.b.hasNext()) { T next = this.b.next(); if (this.d.add(this.c.invoke(next))) { e(next); return; } } b(); } }