[cvs] / jsr166 / src / main / java / util / Queue.java Repository:
ViewVC logotype

Diff of /jsr166/src/main/java/util/Queue.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12, Fri Aug 1 19:34:05 2003 UTC revision 1.13, Mon Aug 4 01:54:13 2003 UTC
# Line 20  Line 20 
20   * which would be removed by a call to {@link #remove() } or {@link #poll()}.   * which would be removed by a call to {@link #remove() } or {@link #poll()}.
21   * Every <tt>Queue</tt> implementation must specify its ordering guarantees.   * Every <tt>Queue</tt> implementation must specify its ordering guarantees.
22   *   *
23   * <p>The {@link #offer offer(E)} method adds an element if possible, otherwise   * <p>The {@link #offer offer} method adds an element if possible, otherwise
24   * returning <tt>false</tt>.  This differs from the {@link java.util.Collection#add Collection.add(E)}   * returning <tt>false</tt>.  This differs from the
25     * {@link java.util.Collection#add Collection.add}
26   * method, which throws an unchecked exception upon   * method, which throws an unchecked exception upon
27   * failure. It is designed for use in collections in which failure to   * failure. It is designed for use in collections in which failure to
28   * add is a normal, rather than exceptional occurrence, for example,   * add is a normal, rather than exceptional occurrence, for example,

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8