Initial commit
This commit is contained in:
31
sources/gnu/trove/TObjectDoubleIterator.java
Normal file
31
sources/gnu/trove/TObjectDoubleIterator.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package gnu.trove;
|
||||
|
||||
import java.util.ConcurrentModificationException;
|
||||
|
||||
/* loaded from: classes2.dex */
|
||||
public class TObjectDoubleIterator<K> extends TIterator {
|
||||
private final TObjectDoubleHashMap<K> d;
|
||||
|
||||
public TObjectDoubleIterator(TObjectDoubleHashMap<K> tObjectDoubleHashMap) {
|
||||
super(tObjectDoubleHashMap);
|
||||
this.d = tObjectDoubleHashMap;
|
||||
}
|
||||
|
||||
@Override // gnu.trove.TIterator
|
||||
protected final int nextIndex() {
|
||||
int i;
|
||||
if (this.b != this.a.size()) {
|
||||
throw new ConcurrentModificationException();
|
||||
}
|
||||
Object[] objArr = this.d._set;
|
||||
int i2 = this.c;
|
||||
while (true) {
|
||||
i = i2 - 1;
|
||||
if (i2 <= 0 || !(objArr[i] == null || objArr[i] == TObjectHash.REMOVED)) {
|
||||
break;
|
||||
}
|
||||
i2 = i;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user