package gnu.trove; import java.util.ConcurrentModificationException; /* loaded from: classes2.dex */ public class TDoubleObjectIterator extends TIterator { private final TDoubleObjectHashMap d; public TDoubleObjectIterator(TDoubleObjectHashMap 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; } }