diff --git a/api/current.txt b/api/current.txt index 5960bcf897017..b602947d081ab 100644 --- a/api/current.txt +++ b/api/current.txt @@ -57372,6 +57372,7 @@ package java.util { method public void ensureCapacity(int); method public void forEach(java.util.function.Consumer); method public E get(int); + method public boolean removeIf(java.util.function.Predicate); method public int size(); method public java.util.Spliterator spliterator(); method public void trimToSize(); @@ -57661,6 +57662,7 @@ package java.util { method public abstract java.util.Iterator 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); method public abstract boolean retainAll(java.util.Collection); method public abstract int size(); method public abstract java.lang.Object[] toArray(); @@ -59055,6 +59057,7 @@ package java.util { 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); method public synchronized void setElementAt(E, int); method public synchronized void setSize(int); method public synchronized int size(); @@ -59536,7 +59539,6 @@ package java.util.concurrent { 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); method public void replaceAll(java.util.function.UnaryOperator); 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 5063207c0ad42..71de40c26e440 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -60472,6 +60472,7 @@ package java.util { method public void ensureCapacity(int); method public void forEach(java.util.function.Consumer); method public E get(int); + method public boolean removeIf(java.util.function.Predicate); method public int size(); method public java.util.Spliterator spliterator(); method public void trimToSize(); @@ -60761,6 +60762,7 @@ package java.util { method public abstract java.util.Iterator 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); method public abstract boolean retainAll(java.util.Collection); method public abstract int size(); method public abstract java.lang.Object[] toArray(); @@ -62155,6 +62157,7 @@ package java.util { 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); method public synchronized void setElementAt(E, int); method public synchronized void setSize(int); method public synchronized int size(); @@ -62636,7 +62639,6 @@ package java.util.concurrent { 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); method public void replaceAll(java.util.function.UnaryOperator); 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 60f1febefe169..8826f5e31f905 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -57446,6 +57446,7 @@ package java.util { method public void ensureCapacity(int); method public void forEach(java.util.function.Consumer); method public E get(int); + method public boolean removeIf(java.util.function.Predicate); method public int size(); method public java.util.Spliterator spliterator(); method public void trimToSize(); @@ -57735,6 +57736,7 @@ package java.util { method public abstract java.util.Iterator 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); method public abstract boolean retainAll(java.util.Collection); method public abstract int size(); method public abstract java.lang.Object[] toArray(); @@ -59129,6 +59131,7 @@ package java.util { 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); method public synchronized void setElementAt(E, int); method public synchronized void setSize(int); method public synchronized int size(); @@ -59610,7 +59613,6 @@ package java.util.concurrent { 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); method public void replaceAll(java.util.function.UnaryOperator); method public boolean retainAll(java.util.Collection); method public E set(int, E);