# | Line 949 | Line 949 | public class PriorityBlockingQueue<E> ex | |
---|---|---|
949 | } | |
950 | ||
951 | @SuppressWarnings("unchecked") | |
952 | < | public void forEach(Consumer<? super E> action) { |
952 | > | public void forEachRemaining(Consumer<? super E> action) { |
953 | Object[] a; int i, hi; // hoist accesses and checks from loop | |
954 | if (action == null) | |
955 | throw new NullPointerException(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |