This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javadoc enum

 
Olu Shiyan
Ranch Hand
Posts: 57
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Roel De Nijs
Sheriff
Posts: 9137
75
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did it like this:
 
Olu Shiyan
Ranch Hand
Posts: 57
Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Allan Cheong
Ranch Hand
Posts: 71
Eclipse IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have javadoc for the enum class, constructor and toString method.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic