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.11 by tim, Thu Jul 31 19:49:42 2003 UTC vs.
Revision 1.12 by tim, Fri Aug 1 19:34:05 2003 UTC

# Line 20 | Line 20 | package java.util;
20   * which would be removed by a call to {@link #remove() } or {@link #poll()}.
21   * Every <tt>Queue</tt> implementation must specify its ordering guarantees.
22   *
23 < * <p>The {@link #offer(E)} method adds an element if possible, otherwise
23 > * <p>The {@link #offer offer(E)} method adds an element if possible, otherwise
24   * returning <tt>false</tt>.  This differs from the {@link java.util.Collection#add Collection.add(E)}
25   * method, which throws an unchecked exception upon
26   * failure. It is designed for use in collections in which failure to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines