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

33 lines
826 B
Java

package o;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.zRk, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C17745zRk<T> extends ApF<T> {
private final Comparator<? super T> c;
private final Iterator<? extends T> d;
private Iterator<T> h;
public C17745zRk(Iterator<? extends T> it, Comparator<? super T> comparator) {
this.d = it;
this.c = comparator;
}
@Override // o.ApF
public final void b() {
if (!this.e) {
List c = MYy.c(this.d);
Collections.sort(c, this.c);
this.h = c.iterator();
}
this.a = this.h.hasNext();
if (this.a) {
this.b = this.h.next();
}
}
}