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

Comparing jsr166/src/main/java/util/concurrent/LinkedBlockingQueue.java (file contents):
Revision 1.9 by dholmes, Thu Jul 31 07:18:02 2003 UTC vs.
Revision 1.10 by dholmes, Mon Aug 4 02:00:37 2003 UTC

# 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());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines