diff options
| -rw-r--r-- | api/current.txt | 2 | ||||
| -rw-r--r-- | api/system-current.txt | 2 | ||||
| -rw-r--r-- | api/test-current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/util/LongSparseArray.java | 1 | ||||
| -rw-r--r-- | core/java/android/util/SparseArray.java | 1 |
5 files changed, 2 insertions, 6 deletions
diff --git a/api/current.txt b/api/current.txt index 235a4a6c3d4d..84ceecc129e2 100644 --- a/api/current.txt +++ b/api/current.txt @@ -43205,7 +43205,6 @@ package android.util { method public E get(long, E); method public int indexOfKey(long); method public int indexOfValue(E); - method public int indexOfValueByValue(E); method public long keyAt(int); method public void put(long, E); method public void remove(long); @@ -43408,7 +43407,6 @@ package android.util { method public E get(int, E); method public int indexOfKey(int); method public int indexOfValue(E); - method public int indexOfValueByValue(E); method public int keyAt(int); method public void put(int, E); method public void remove(int); diff --git a/api/system-current.txt b/api/system-current.txt index abdcaaa6c1b4..f327d86a7d94 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -46668,7 +46668,6 @@ package android.util { method public E get(long, E); method public int indexOfKey(long); method public int indexOfValue(E); - method public int indexOfValueByValue(E); method public long keyAt(int); method public void put(long, E); method public void remove(long); @@ -46871,7 +46870,6 @@ package android.util { method public E get(int, E); method public int indexOfKey(int); method public int indexOfValue(E); - method public int indexOfValueByValue(E); method public int keyAt(int); method public void put(int, E); method public void remove(int); diff --git a/api/test-current.txt b/api/test-current.txt index 3fb42a400835..7a69eb13d5ad 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -43401,7 +43401,6 @@ package android.util { method public E get(long, E); method public int indexOfKey(long); method public int indexOfValue(E); - method public int indexOfValueByValue(E); method public long keyAt(int); method public void put(long, E); method public void remove(long); @@ -43604,7 +43603,6 @@ package android.util { method public E get(int, E); method public int indexOfKey(int); method public int indexOfValue(E); - method public int indexOfValueByValue(E); method public int keyAt(int); method public void put(int, E); method public void remove(int); diff --git a/core/java/android/util/LongSparseArray.java b/core/java/android/util/LongSparseArray.java index 58ad2fd0c586..9ba0f5da135e 100644 --- a/core/java/android/util/LongSparseArray.java +++ b/core/java/android/util/LongSparseArray.java @@ -315,6 +315,7 @@ public class LongSparseArray<E> implements Cloneable { * and that multiple keys can map to the same value and this will * find only one of them. * <p>Note also that this method uses {@code equals} unlike {@code indexOfValue}. + * @hide */ public int indexOfValueByValue(E value) { if (mGarbage) { diff --git a/core/java/android/util/SparseArray.java b/core/java/android/util/SparseArray.java index c76666069d18..b3400ef538b8 100644 --- a/core/java/android/util/SparseArray.java +++ b/core/java/android/util/SparseArray.java @@ -363,6 +363,7 @@ public class SparseArray<E> implements Cloneable { * and that multiple keys can map to the same value and this will * find only one of them. * <p>Note also that this method uses {@code equals} unlike {@code indexOfValue}. + * @hide */ public int indexOfValueByValue(E value) { if (mGarbage) { |