• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Still trying to understand compareTo() method

 
saurabhthard aggarwal
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/*WHEN COMPARETO () METHOD IS CALLED FOR ADDING THE SECOND ELEMENT IN THE TREESET WHICH OBJECT VALUE IS COMPARED TO WHICH OBJECT VALUE.

 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for using the CODE tags saurabh. However can you please edit the original post instead of creating a new one ? This will help you track your responses better and will avoid confusion due to double posting. Your original post is here

http://www.coderanch.com/t/436485/Programmer-Certification-SCJP/certification/Still-not-getting-working-compareTo

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