CrackMe.apk
Download file
package com.google.android.exoplayer2.source.chunk;
import java.util.NoSuchElementException;
public abstract class BaseMediaChunkIterator implements MediaChunkIterator {
private long currentIndex;
private final long fromIndex;
private final long toIndex;
public BaseMediaChunkIterator(long j, long j2) {
this.fromIndex = j;
this.toIndex = j2;
reset();
}
public boolean isEnded() {
return this.currentIndex > this.toIndex;
}
public boolean next() {
this.currentIndex++;
return !isEnded();
}
public void reset() {
this.currentIndex = this.fromIndex - 1;
}
/* access modifiers changed from: protected */
public final void checkInBounds() {
long j = this.currentIndex;
if (j < this.fromIndex || j > this.toIndex) {
throw new NoSuchElementException();
}
}
/* access modifiers changed from: protected */
public final long getCurrentIndex() {
return this.currentIndex;
}
}
Download file