what-the-bank/sources/o/sMK.java

29 lines
637 B
Java

package o;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;
/* loaded from: classes.dex */
public final class sMK<T> extends ApF<T> {
private final Iterator<? extends T> c;
private final Set<T> d = new HashSet();
public sMK(Iterator<? extends T> it) {
this.c = it;
}
@Override // o.ApF
public final void b() {
do {
boolean hasNext = this.c.hasNext();
this.a = hasNext;
if (!hasNext) {
return;
} else {
this.b = this.c.next();
}
} while (!this.d.add(this.b));
}
}