ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.140 by jsr166, Tue Nov 15 22:23:57 2016 UTC vs.
Revision 1.141 by jsr166, Thu Dec 8 05:04:44 2016 UTC

# Line 775 | Line 775 | public class CopyOnWriteArrayList<E>
775          }
776      }
777  
778 +    /**
779 +     * @throws NullPointerException {@inheritDoc}
780 +     */
781      public void forEach(Consumer<? super E> action) {
782          if (action == null) throw new NullPointerException();
783          for (Object x : getArray()) {
# Line 783 | Line 786 | public class CopyOnWriteArrayList<E>
786          }
787      }
788  
789 +    /**
790 +     * @throws NullPointerException {@inheritDoc}
791 +     */
792      public boolean removeIf(Predicate<? super E> filter) {
793          if (filter == null) throw new NullPointerException();
794          return bulkRemove(filter);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines