File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to override Java's own methods?

 
Claire Yang
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
equals method mentioned in Java API:
[quota]
Note that it is generally necessary to override the hashCode method whenever equals method is overridden, ...
[/quota]
Can anyone tell me where I can find the java's suggestions about how to override the methods?
Thanks in advance.
[ October 08, 2002: Message edited by: Claire Yang ]
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There you go:
Javaranch Newsletter 10/2002: Equals And Hash Code by Manish Hatwalne
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic