Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -44280,6 +44280,7 @@ package android.util { 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); } core/java/android/util/SparseBooleanArray.java +5 −1 Original line number Diff line number Diff line Loading @@ -117,7 +117,11 @@ public class SparseBooleanArray implements Cloneable { } } /** @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)); Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -44280,6 +44280,7 @@ package android.util { 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); }
core/java/android/util/SparseBooleanArray.java +5 −1 Original line number Diff line number Diff line Loading @@ -117,7 +117,11 @@ public class SparseBooleanArray implements Cloneable { } } /** @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)); Loading