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

Comparing jsr166/src/main/java/util/Vector.java (file contents):
Revision 1.40 by jsr166, Mon Dec 5 00:08:01 2016 UTC vs.
Revision 1.41 by jsr166, Thu Dec 8 05:01:42 2016 UTC

# Line 985 | Line 985 | public class Vector<E>
985          return bulkRemove(e -> !c.contains(e));
986      }
987  
988 +    /**
989 +     * @throws NullPointerException {@inheritDoc}
990 +     */
991      @Override
992      public boolean removeIf(Predicate<? super E> filter) {
993          Objects.requireNonNull(filter);
# Line 1353 | Line 1356 | public class Vector<E>
1356          }
1357      }
1358  
1359 +    /**
1360 +     * @throws NullPointerException {@inheritDoc}
1361 +     */
1362      @Override
1363      public synchronized void forEach(Consumer<? super E> action) {
1364          Objects.requireNonNull(action);
# Line 1366 | Line 1372 | public class Vector<E>
1372          // checkInvariants();
1373      }
1374  
1375 +    /**
1376 +     * @throws NullPointerException {@inheritDoc}
1377 +     */
1378      @Override
1379      public synchronized void replaceAll(UnaryOperator<E> operator) {
1380          Objects.requireNonNull(operator);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines