aspose file tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Question javadoc - hashCode, equals and toString override Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question javadoc - hashCode, equals and toString override" Watch "Question javadoc - hashCode, equals and toString override" New topic
Author

Question javadoc - hashCode, equals and toString override

Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 488
    
    2

Hi folks

Have you ranchers written javadoc for hashCode, equals and toString or just use {@inheritDoc} ?
Regards.


Fernando Franzini - Java Blog
Roel De Nijs
Sheriff

Joined: Jul 19, 2004
Posts: 6855
    
  24

Hi Fernando,

In my assignment every method that's overridden has {@inheritDoc} as javadoc comment.

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
OCAJP 7
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 488
    
    2

Thanks Roel
 
Don't get me started about those stupid light bulbs.
 
subject: Question javadoc - hashCode, equals and toString override