Track libcore commit d41ca4a76ea570f9dd89a7ae56410cc75cc0a856
Bug: 27538943
Change-Id: I91fc2e9738dcfb7be061041b5e000b21e7684184
(cherry picked from commit f45eca1d72a26feca68f74149afc4a8c6c91fde4)
(cherry picked from commit e72e604beae9a37834cbd1bff8eaeafd5810ed92)
diff --git a/api/current.txt b/api/current.txt
index 566c195..a7d0483 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -57366,6 +57366,7 @@
method public void ensureCapacity(int);
method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
method public int size();
method public java.util.Spliterator<E> spliterator();
method public void trimToSize();
@@ -57655,6 +57656,7 @@
method public abstract java.util.Iterator<E> iterator();
method public abstract boolean remove(java.lang.Object);
method public abstract boolean removeAll(java.util.Collection<?>);
+ method public default boolean removeIf(java.util.function.Predicate<? super E>);
method public abstract boolean retainAll(java.util.Collection<?>);
method public abstract int size();
method public abstract java.lang.Object[] toArray();
@@ -59049,6 +59051,7 @@
method public synchronized void removeAllElements();
method public synchronized boolean removeElement(java.lang.Object);
method public synchronized void removeElementAt(int);
+ method public synchronized boolean removeIf(java.util.function.Predicate<? super E>);
method public synchronized void setElementAt(E, int);
method public synchronized void setSize(int);
method public synchronized int size();
@@ -59530,7 +59533,6 @@
method public E remove(int);
method public boolean remove(java.lang.Object);
method public boolean removeAll(java.util.Collection<?>);
- method public boolean removeIf(java.util.function.Predicate<? super E>);
method public void replaceAll(java.util.function.UnaryOperator<E>);
method public boolean retainAll(java.util.Collection<?>);
method public E set(int, E);
diff --git a/api/system-current.txt b/api/system-current.txt
index 391779d..5835643 100644
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -60466,6 +60466,7 @@
method public void ensureCapacity(int);
method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
method public int size();
method public java.util.Spliterator<E> spliterator();
method public void trimToSize();
@@ -60755,6 +60756,7 @@
method public abstract java.util.Iterator<E> iterator();
method public abstract boolean remove(java.lang.Object);
method public abstract boolean removeAll(java.util.Collection<?>);
+ method public default boolean removeIf(java.util.function.Predicate<? super E>);
method public abstract boolean retainAll(java.util.Collection<?>);
method public abstract int size();
method public abstract java.lang.Object[] toArray();
@@ -62149,6 +62151,7 @@
method public synchronized void removeAllElements();
method public synchronized boolean removeElement(java.lang.Object);
method public synchronized void removeElementAt(int);
+ method public synchronized boolean removeIf(java.util.function.Predicate<? super E>);
method public synchronized void setElementAt(E, int);
method public synchronized void setSize(int);
method public synchronized int size();
@@ -62630,7 +62633,6 @@
method public E remove(int);
method public boolean remove(java.lang.Object);
method public boolean removeAll(java.util.Collection<?>);
- method public boolean removeIf(java.util.function.Predicate<? super E>);
method public void replaceAll(java.util.function.UnaryOperator<E>);
method public boolean retainAll(java.util.Collection<?>);
method public E set(int, E);
diff --git a/api/test-current.txt b/api/test-current.txt
index d240a23..ffc57b7 100644
--- a/api/test-current.txt
+++ b/api/test-current.txt
@@ -57440,6 +57440,7 @@
method public void ensureCapacity(int);
method public void forEach(java.util.function.Consumer<? super E>);
method public E get(int);
+ method public boolean removeIf(java.util.function.Predicate<? super E>);
method public int size();
method public java.util.Spliterator<E> spliterator();
method public void trimToSize();
@@ -57729,6 +57730,7 @@
method public abstract java.util.Iterator<E> iterator();
method public abstract boolean remove(java.lang.Object);
method public abstract boolean removeAll(java.util.Collection<?>);
+ method public default boolean removeIf(java.util.function.Predicate<? super E>);
method public abstract boolean retainAll(java.util.Collection<?>);
method public abstract int size();
method public abstract java.lang.Object[] toArray();
@@ -59123,6 +59125,7 @@
method public synchronized void removeAllElements();
method public synchronized boolean removeElement(java.lang.Object);
method public synchronized void removeElementAt(int);
+ method public synchronized boolean removeIf(java.util.function.Predicate<? super E>);
method public synchronized void setElementAt(E, int);
method public synchronized void setSize(int);
method public synchronized int size();
@@ -59604,7 +59607,6 @@
method public E remove(int);
method public boolean remove(java.lang.Object);
method public boolean removeAll(java.util.Collection<?>);
- method public boolean removeIf(java.util.function.Predicate<? super E>);
method public void replaceAll(java.util.function.UnaryOperator<E>);
method public boolean retainAll(java.util.Collection<?>);
method public E set(int, E);