File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes javadoc enum 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 "javadoc enum" Watch "javadoc enum" New topic
Author

javadoc enum

Olu Shiyan
Ranch Hand

Joined: Jun 10, 2010
Posts: 56

Hi folks,

I want use an enum to store the database constants constants e.g number of bytes used to store the magic cookie etc. However, Im not sure about how to javakdoc and enum? Did anyone use enums recently? If so, please explained how you applied javadoc to the enum
i.e. did you specify each enum constant on a separate line and did you insert a javadoc comment for each enum constant?


Thanks


SCJP 6, OCMJD6
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4910
    
  10

I did it like this:


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Olu Shiyan
Ranch Hand

Joined: Jun 10, 2010
Posts: 56

Thanks
Allan Cheong
Ranch Hand

Joined: Nov 12, 2009
Posts: 71

I have javadoc for the enum class, constructor and toString method.


SCJP6, SCJD, OCJWCD5
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javadoc enum
 
Similar Threads
Understanding Enum
Question about constructing enums
Getting a enum based upon one of its fields
enum: can anyone post the rules for enum declarations
Storing Enum Types