code: public void removeAtRange(int index, int size) {
          final int end = Math.min(mSize, index + size);
          for (int i = index; i < end; i++) {
              removeAt(i);
          }
      }
docs: Remove a range of mappings as a batch.
  
  @param index Index to begin at
  @param size Number of mappings to remove