[cvs] / jsr166 / src / main / java / util / Vector.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Vector.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40, Mon Dec 5 00:08:01 2016 UTC revision 1.41, Thu Dec 8 05:01:42 2016 UTC
# Line 985  Line 985 
985          return bulkRemove(e -> !c.contains(e));          return bulkRemove(e -> !c.contains(e));
986      }      }
987    
988        /**
989         * @throws NullPointerException {@inheritDoc}
990         */
991      @Override      @Override
992      public boolean removeIf(Predicate<? super E> filter) {      public boolean removeIf(Predicate<? super E> filter) {
993          Objects.requireNonNull(filter);          Objects.requireNonNull(filter);
# Line 1353  Line 1356 
1356          }          }
1357      }      }
1358    
1359        /**
1360         * @throws NullPointerException {@inheritDoc}
1361         */
1362      @Override      @Override
1363      public synchronized void forEach(Consumer<? super E> action) {      public synchronized void forEach(Consumer<? super E> action) {
1364          Objects.requireNonNull(action);          Objects.requireNonNull(action);
# Line 1366  Line 1372 
1372          // checkInvariants();          // checkInvariants();
1373      }      }
1374    
1375        /**
1376         * @throws NullPointerException {@inheritDoc}
1377         */
1378      @Override      @Override
1379      public synchronized void replaceAll(UnaryOperator<E> operator) {      public synchronized void replaceAll(UnaryOperator<E> operator) {
1380          Objects.requireNonNull(operator);          Objects.requireNonNull(operator);

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8