package gnu.trove; import java.util.ConcurrentModificationException; /* loaded from: classes2.dex */ public class TByteObjectIterator extends TIterator { private final TByteObjectHashMap d; public TByteObjectIterator(TByteObjectHashMap tByteObjectHashMap) { super(tByteObjectHashMap); this.d = tByteObjectHashMap; } @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 || TByteObjectHashMap.isFull(vArr, i)) { break; } i2 = i; } return i; } }