< prev index next >

src/java.base/share/classes/java/util/concurrent/ConcurrentLinkedDeque.java

Print this page

        

@@ -1567,26 +1567,29 @@
         initHeadTail(h, t);
     }
 
     /**
      * @throws NullPointerException {@inheritDoc}
+     * @since 9
      */
     public boolean removeIf(Predicate<? super E> filter) {
         Objects.requireNonNull(filter);
         return bulkRemove(filter);
     }
 
     /**
      * @throws NullPointerException {@inheritDoc}
+     * @since 9
      */
     public boolean removeAll(Collection<?> c) {
         Objects.requireNonNull(c);
         return bulkRemove(e -> c.contains(e));
     }
 
     /**
      * @throws NullPointerException {@inheritDoc}
+     * @since 9
      */
     public boolean retainAll(Collection<?> c) {
         Objects.requireNonNull(c);
         return bulkRemove(e -> !c.contains(e));
     }

@@ -1607,10 +1610,11 @@
         return removed;
     }
 
     /**
      * @throws NullPointerException {@inheritDoc}
+     * @since 9
      */
     public void forEach(Consumer<? super E> action) {
         Objects.requireNonNull(action);
         E item;
         for (Node<E> p = first(); p != null; p = succ(p))
< prev index next >