Files
rr3-apk/decompiled/sources/com/applovin/impl/c.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

59 lines
1.3 KiB
Java

package com.applovin.impl;
import com.applovin.exoplayer2.common.base.Preconditions;
import java.util.NoSuchElementException;
/* loaded from: classes.dex */
abstract class c extends qp {
private final int a;
private int b;
public abstract Object a(int i);
@Override // java.util.Iterator, java.util.ListIterator
public final boolean hasNext() {
return this.b < this.a;
}
@Override // java.util.ListIterator
public final boolean hasPrevious() {
return this.b > 0;
}
@Override // java.util.ListIterator
public final int nextIndex() {
return this.b;
}
@Override // java.util.ListIterator
public final int previousIndex() {
return this.b - 1;
}
public c(int i, int i2) {
Preconditions.checkPositionIndex(i2, i);
this.a = i;
this.b = i2;
}
@Override // java.util.Iterator, java.util.ListIterator
public final Object next() {
if (hasNext()) {
int i = this.b;
this.b = i + 1;
return a(i);
}
throw new NoSuchElementException();
}
@Override // java.util.ListIterator
public final Object previous() {
if (hasPrevious()) {
int i = this.b - 1;
this.b = i;
return a(i);
}
throw new NoSuchElementException();
}
}