35 lines
908 B
Java
35 lines
908 B
Java
package androidx.collection;
|
|
|
|
import d0.t.c0;
|
|
/* compiled from: SparseArray.kt */
|
|
/* loaded from: classes.dex */
|
|
public final class SparseArrayKt$keyIterator$1 extends c0 {
|
|
public final /* synthetic */ SparseArrayCompat $this_keyIterator;
|
|
private int index;
|
|
|
|
public SparseArrayKt$keyIterator$1(SparseArrayCompat<T> sparseArrayCompat) {
|
|
this.$this_keyIterator = sparseArrayCompat;
|
|
}
|
|
|
|
public final int getIndex() {
|
|
return this.index;
|
|
}
|
|
|
|
@Override // java.util.Iterator
|
|
public boolean hasNext() {
|
|
return this.index < this.$this_keyIterator.size();
|
|
}
|
|
|
|
@Override // d0.t.c0
|
|
public int nextInt() {
|
|
SparseArrayCompat sparseArrayCompat = this.$this_keyIterator;
|
|
int i = this.index;
|
|
this.index = i + 1;
|
|
return sparseArrayCompat.keyAt(i);
|
|
}
|
|
|
|
public final void setIndex(int i) {
|
|
this.index = i;
|
|
}
|
|
}
|