Bug:
70934959
Test: none
Change-Id: Ic26a9fba610d6361247e0485803b52569fbf4a38
method public int indexOfValue(boolean);
method public int keyAt(int);
method public void put(int, boolean);
+ method public void removeAt(int);
method public int size();
method public boolean valueAt(int);
}
}
}
- /** @hide */
+ /**
+ * Removes the mapping at the specified index.
+ * <p>
+ * For indices outside of the range {@code 0...size()-1}, the behavior is undefined.
+ */
public void removeAt(int index) {
System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));