protected int nextIndex()

in core/src/main/java/gnu/trove/TObjectLongIterator.java [105:114]


  protected int nextIndex() {
    if (_expectedSize != _hash.size()) {
      throw new ConcurrentModificationException();
    }

    Object[] set = _map._set;
    int i = _index;
    while (i-- > 0 && (set[i] == null || set[i] == TObjectHash.REMOVED)) ;
    return i;
  }