Loading core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -45462,6 +45462,7 @@ package android.util { method public void remove(int); method public void removeAt(int); method public void removeAtRange(int, int); method public void set(int, E); method public void setValueAt(int, E); method public int size(); method public E valueAt(int); core/java/android/util/SparseArray.java +8 −0 Original line number Diff line number Diff line Loading @@ -240,6 +240,14 @@ public class SparseArray<E> implements Cloneable { // Log.e("SparseArray", "gc end with " + mSize); } /** * Alias for {@link #put(int, Object)} to support Kotlin [index]= operator. * @see #put(int, Object) */ public void set(int key, E value) { put(key, value); } /** * Adds a mapping from the specified key to the specified value, * replacing the previous mapping from the specified key if there Loading Loading
core/api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -45462,6 +45462,7 @@ package android.util { method public void remove(int); method public void removeAt(int); method public void removeAtRange(int, int); method public void set(int, E); method public void setValueAt(int, E); method public int size(); method public E valueAt(int);
core/java/android/util/SparseArray.java +8 −0 Original line number Diff line number Diff line Loading @@ -240,6 +240,14 @@ public class SparseArray<E> implements Cloneable { // Log.e("SparseArray", "gc end with " + mSize); } /** * Alias for {@link #put(int, Object)} to support Kotlin [index]= operator. * @see #put(int, Object) */ public void set(int key, E value) { put(key, value); } /** * Adds a mapping from the specified key to the specified value, * replacing the previous mapping from the specified key if there Loading