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

Comparing jsr166/src/main/java/util/Queue.java (file contents):
Revision 1.18 by dl, Sat Sep 13 18:51:06 2003 UTC vs.
Revision 1.20 by dl, Sat Oct 18 12:29:27 2003 UTC

# Line 79 | Line 79 | package java.util;
79   * @see java.util.concurrent.PriorityBlockingQueue
80   * @since 1.5
81   * @author Doug Lea
82 + * @param <E> the base class of all elements held in this collection
83   */
84   public interface Queue<E> extends Collection<E> {
85  
86      /**
87 <     * Inserts the specified element to this queue, if possible.  When
87 >     * Inserts the specified element into this queue, if possible.  When
88       * using queues that may impose insertion restrictions (for
89       * example capacity bounds), method <tt>offer</tt> is generally
90       * preferable to method {@link Collection#add}, which can fail to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines