34 lines
956 B
Java
34 lines
956 B
Java
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<T, K> extends AbstractC14865gaf<T> {
|
|
private final Iterator<T> b;
|
|
private final InterfaceC14894gbR<T, K> c;
|
|
private final HashSet<K> d;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public C14989gdu(Iterator<? extends T> it, InterfaceC14894gbR<? super T, ? extends K> 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();
|
|
}
|
|
}
|