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

32 lines
834 B
Java

package gnu.trove;
import java.util.ConcurrentModificationException;
/* loaded from: classes2.dex */
public class TDoubleObjectIterator<V> extends TIterator {
private final TDoubleObjectHashMap<V> d;
public TDoubleObjectIterator(TDoubleObjectHashMap<V> tDoubleObjectHashMap) {
super(tDoubleObjectHashMap);
this.d = tDoubleObjectHashMap;
}
@Override // gnu.trove.TIterator
protected final int nextIndex() {
int i;
if (this.b != this.d.size()) {
throw new ConcurrentModificationException();
}
V[] vArr = this.d._values;
int i2 = this.c;
while (true) {
i = i2 - 1;
if (i2 <= 0 || TDoubleObjectHashMap.isFull(vArr, i)) {
break;
}
i2 = i;
}
return i;
}
}