jimu-decompiled/sources/gnu/trove/TPrimitiveIterator.java
2025-05-13 19:24:51 +02:00

32 lines
772 B
Java

package gnu.trove;
import java.util.ConcurrentModificationException;
/* loaded from: classes2.dex */
abstract class TPrimitiveIterator extends TIterator {
protected final TPrimitiveHash d;
public TPrimitiveIterator(TPrimitiveHash tPrimitiveHash) {
super(tPrimitiveHash);
this.d = tPrimitiveHash;
}
@Override // gnu.trove.TIterator
protected final int nextIndex() {
int i;
if (this.b != this.d.size()) {
throw new ConcurrentModificationException();
}
byte[] bArr = this.d._states;
int i2 = this.c;
while (true) {
i = i2 - 1;
if (i2 <= 0 || bArr[i] == 1) {
break;
}
i2 = i;
}
return i;
}
}