Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

List of classes which override equals method

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I know that String, File and all wrapper classes override the equals method.
Are there more?
Regds.
Rahul
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh yes!...there are a zillion more classes which override equals() method. Just go to Java API Documentation, switch to Index view and look for equals(Object).
I am sure you will not have to remember all of these for the SCJP exam.
Ajith
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I just forget about the Index view link of the API.
Regds.
Rahul
[This message has been edited by rahul_mkar (edited July 17, 2000).]
 
M Davis
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ajith Kallambella wrote:Oh yes!...there are a zillion more classes which override equals() method. Just go to Java API Documentation, switch to Index view and look for equals(Object).
I am sure you will not have to remember all of these for the SCJP exam.
Ajith


This will probably seem like a dumb question but...

What is the Java API Doc Index view and how do you switch to it?
 
dennis deems
Ranch Hand
Posts: 808
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://download.oracle.com/javase/6/docs/api/

You'll see the Index option at the top of the page. It's an alphabetical index to the API.
 
M Davis
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dennis Deems wrote:http://download.oracle.com/javase/6/docs/api/

You'll see the Index option at the top of the page. It's an alphabetical index to the API.


Thanks Dennis!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic