summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-06-10 17:49:43 -0700
committerDianne Hackborn <hackbod@google.com>2015-06-11 13:53:13 -0700
commitf16747db093f6d6371d617efc8d90698d2d5b389 (patch)
treed213974ca517502d196b326fe3dafed3d94829b8 /api
parent54380c741bce96a35a5e9df0a8722c3cf5cd4e35 (diff)
downloadframeworks_base-f16747db093f6d6371d617efc8d90698d2d5b389.zip
frameworks_base-f16747db093f6d6371d617efc8d90698d2d5b389.tar.gz
frameworks_base-f16747db093f6d6371d617efc8d90698d2d5b389.tar.bz2
Add ArraySet to the SDK.
Also fix some documentation. Change-Id: I46025c3b5450e7cd671135b99ff3b298e223651d
Diffstat (limited to 'api')
-rw-r--r--api/current.txt27
-rw-r--r--api/system-current.txt27
2 files changed, 52 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt
index cfb9398..65ce268 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -33909,7 +33909,7 @@ package android.util {
public final class ArrayMap implements java.util.Map {
ctor public ArrayMap();
ctor public ArrayMap(int);
- ctor public ArrayMap(android.util.ArrayMap);
+ ctor public ArrayMap(android.util.ArrayMap<K, V>);
method public void clear();
method public boolean containsAll(java.util.Collection<?>);
method public boolean containsKey(java.lang.Object);
@@ -33934,6 +33934,31 @@ package android.util {
method public java.util.Collection<V> values();
}
+ public final class ArraySet implements java.util.Collection java.util.Set {
+ ctor public ArraySet();
+ ctor public ArraySet(int);
+ ctor public ArraySet(android.util.ArraySet<E>);
+ method public boolean add(E);
+ method public void addAll(android.util.ArraySet<? extends E>);
+ method public boolean addAll(java.util.Collection<? extends E>);
+ method public void clear();
+ method public boolean contains(java.lang.Object);
+ method public boolean containsAll(java.util.Collection<?>);
+ method public void ensureCapacity(int);
+ method public int indexOf(java.lang.Object);
+ method public boolean isEmpty();
+ method public java.util.Iterator<E> iterator();
+ method public boolean remove(java.lang.Object);
+ method public boolean removeAll(android.util.ArraySet<? extends E>);
+ method public boolean removeAll(java.util.Collection<?>);
+ method public E removeAt(int);
+ method public boolean retainAll(java.util.Collection<?>);
+ method public int size();
+ method public java.lang.Object[] toArray();
+ method public T[] toArray(T[]);
+ method public E valueAt(int);
+ }
+
public class AtomicFile {
ctor public AtomicFile(java.io.File);
method public void delete();
diff --git a/api/system-current.txt b/api/system-current.txt
index 6035ef2..9cb0dc2 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -36186,7 +36186,7 @@ package android.util {
public final class ArrayMap implements java.util.Map {
ctor public ArrayMap();
ctor public ArrayMap(int);
- ctor public ArrayMap(android.util.ArrayMap);
+ ctor public ArrayMap(android.util.ArrayMap<K, V>);
method public void clear();
method public boolean containsAll(java.util.Collection<?>);
method public boolean containsKey(java.lang.Object);
@@ -36211,6 +36211,31 @@ package android.util {
method public java.util.Collection<V> values();
}
+ public final class ArraySet implements java.util.Collection java.util.Set {
+ ctor public ArraySet();
+ ctor public ArraySet(int);
+ ctor public ArraySet(android.util.ArraySet<E>);
+ method public boolean add(E);
+ method public void addAll(android.util.ArraySet<? extends E>);
+ method public boolean addAll(java.util.Collection<? extends E>);
+ method public void clear();
+ method public boolean contains(java.lang.Object);
+ method public boolean containsAll(java.util.Collection<?>);
+ method public void ensureCapacity(int);
+ method public int indexOf(java.lang.Object);
+ method public boolean isEmpty();
+ method public java.util.Iterator<E> iterator();
+ method public boolean remove(java.lang.Object);
+ method public boolean removeAll(android.util.ArraySet<? extends E>);
+ method public boolean removeAll(java.util.Collection<?>);
+ method public E removeAt(int);
+ method public boolean retainAll(java.util.Collection<?>);
+ method public int size();
+ method public java.lang.Object[] toArray();
+ method public T[] toArray(T[]);
+ method public E valueAt(int);
+ }
+
public class AtomicFile {
ctor public AtomicFile(java.io.File);
method public void delete();