/[classpath]/classpath/java/awt/Point.java
ViewVC logotype

Diff of /classpath/java/awt/Point.java

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

revision 1.10 by mark, Sat Jul 2 20:32:25 2005 UTC revision 1.11 by green, Fri Sep 16 01:11:39 2005 UTC
# Line 226  public class Point extends Point2D imple Line 226  public class Point extends Point2D imple
226    */    */
227    public boolean equals(Object obj)    public boolean equals(Object obj)
228    {    {
229        // NOTE: No special hashCode() method is required for this class,
230        // as this equals() implementation is functionally equivalent to
231        // super.equals(), which does define a proper hashCode().
232    
233      if (! (obj instanceof Point2D))      if (! (obj instanceof Point2D))
234        return false;        return false;
235      Point2D p = (Point2D) obj;      Point2D p = (Point2D) obj;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26