# | Line 951 | Line 951 | public class LinkedTransferQueue<E> exte | |
---|---|---|
951 | } | |
952 | ||
953 | @SuppressWarnings("unchecked") | |
954 | < | public void forEach(Consumer<? super E> action) { |
954 | > | public void forEachRemaining(Consumer<? super E> action) { |
955 | Node p; | |
956 | if (action == null) throw new NullPointerException(); | |
957 | final LinkedTransferQueue<E> q = this.queue; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |