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.15 by dholmes, Wed Aug 6 01:57:53 2003 UTC vs.
Revision 1.16 by dl, Sat Aug 30 11:40:04 2003 UTC

# Line 54 | Line 54 | package java.util;
54   * used as a special return value by the <tt>poll</tt> method to
55   * indicate that the queue contains no elements.
56   *
57 + * <p><tt>Queue</tt> implementations generally do not define
58 + * element-based versions of methods <tt>equals</tt> and
59 + * <tt>hashCode</tt> but instead inherit the identity based versions
60 + * from class <tt>Object</tt>, because element-based equality is not
61 + * always well-defined for queues with the same elements but different
62 + * ordering properties.
63 + *
64 + *
65   * <p>This interface is a member of the
66   * <a href="{@docRoot}/../guide/collections/index.html">
67   * Java Collections Framework</a>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines