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

Comparing jsr166/src/main/java/util/AbstractQueue.java (file contents):
Revision 1.16 by dl, Sat Sep 13 18:51:06 2003 UTC vs.
Revision 1.18 by dl, Fri Sep 26 11:37:06 2003 UTC

# Line 21 | Line 21 | package java.util;
21   * insertion of <tt>null</tt> elements, along with methods {@link
22   * Queue#peek}, {@link Queue#poll}, {@link Collection#size}, and a
23   * {@link Collection#iterator} supporting {@link
24 < * Iterator#remove}. Typically, additional methods will be overriden
24 > * Iterator#remove}. Typically, additional methods will be overridden
25   * as well. If these requirements cannot be met, consider instead
26   * subclassing {@link AbstractCollection}.
27   *
# Line 43 | Line 43 | public abstract class AbstractQueue<E>
43       * Adds the specified element to this queue. This implementation
44       * returns <tt>true</tt> if <tt>offer</tt> succeeds, else
45       * throws an IllegalStateException.
46 <     * th
46 >     *
47       * @param o the element
48       * @return <tt>true</tt> (as per the general contract of
49       *         <tt>Collection.add</tt>).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines