summaryrefslogtreecommitdiff
path: root/core/java/android/util/ArrayMap.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-07-13 01:06:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-07-13 01:06:38 +0000
commitf9ad937d7a9676f463695a289cec8b3f3324cfbd (patch)
tree43f5c116d1ab9a709b071ff34f26cf78d64ee654 /core/java/android/util/ArrayMap.java
parent9ad5bc7e64c01b34d35608bd7fbd4cd470447bbc (diff)
parentb993f41eb2f165425dfdf0f93ea0b1e354eca837 (diff)
Merge "Update SparseArray docs to be more informative."
Diffstat (limited to 'core/java/android/util/ArrayMap.java')
-rw-r--r--core/java/android/util/ArrayMap.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/util/ArrayMap.java b/core/java/android/util/ArrayMap.java
index 26bcce499348..18534c6907b7 100644
--- a/core/java/android/util/ArrayMap.java
+++ b/core/java/android/util/ArrayMap.java
@@ -34,8 +34,7 @@ import java.util.Set;
* that may contain large numbers of items. It is generally slower than a traditional
* HashMap, since lookups require a binary search and adds and removes require inserting
* and deleting entries in the array. For containers holding up to hundreds of items,
- * the performance difference is not significant, less than 50%. For larger numbers of items
- * this data structure should be avoided.</p>
+ * the performance difference is not significant, less than 50%.</p>
*
* <p><b>Note:</b> unlike {@link java.util.HashMap}, this container does not support
* null keys.</p>
@@ -44,7 +43,7 @@ import java.util.Set;
* standard Java containers it will shrink its array as items are removed from it. Currently
* you have no control over this shrinking -- if you set a capacity and then remove an
* item, it may reduce the capacity to better match the current size. In the future an
- * explicitly call to set the capacity should turn off this aggressive shrinking behavior.</p>
+ * explicit call to set the capacity should turn off this aggressive shrinking behavior.</p>
*
* @hide
*/