summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArray.java
diff options
context:
space:
mode:
authorSuprabh Shukla <suprabh@google.com>2017-03-23 16:09:27 -0700
committerSuprabh Shukla <suprabh@google.com>2017-03-24 01:22:05 +0000
commit0693ff6d0e13e45ced6e7a52e129f3b61a06a133 (patch)
tree4f9761dfbeaafcb8b076f5f50d87a68d3e78d70f /core/java/android/util/SparseArray.java
parentc79d4388de8cd2de15a077bf840ee03194db1c75 (diff)
Removing unused method indexOfValueByValue
The method was confusing and not used by anyone. Same functionality can be implemented trivially in the client code. Test: N/A Bug: 35765468 Change-Id: Ia019088cd023c62d83760d9ebe883f7559a43375
Diffstat (limited to 'core/java/android/util/SparseArray.java')
-rw-r--r--core/java/android/util/SparseArray.java1
1 files changed, 1 insertions, 0 deletions
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) {