Merge "Removing unused method indexOfValueByValue"
This commit is contained in:
committed by
Android (Google) Code Review
commit
08d3cdbe48
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user