Merge "Removing unused method indexOfValueByValue"

This commit is contained in:
TreeHugger Robot
2017-03-24 05:04:53 +00:00
committed by Android (Google) Code Review
5 changed files with 2 additions and 6 deletions

View File

@@ -43235,7 +43235,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);
@@ -43438,7 +43437,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);

View File

@@ -46690,7 +46690,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);
@@ -46893,7 +46892,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);

View File

@@ -43441,7 +43441,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);
@@ -43644,7 +43643,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);

View File

@@ -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) {

View File

@@ -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) {