# | Line 174 | Line 174 | public class LinkedBlockingQueue<E> exte | |
---|---|---|
174 | * @throws NullPointerException if <tt>c</tt> or any element within it | |
175 | * is <tt>null</tt> | |
176 | */ | |
177 | < | public LinkedBlockingQueue(Collection<E> c) { |
177 | > | public LinkedBlockingQueue(Collection<? extends E> c) { |
178 | this(Integer.MAX_VALUE); | |
179 | for (Iterator<E> it = c.iterator(); it.hasNext();) | |
180 | add(it.next()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |