Javadocs

Can anyone tell me how to write preconditions and postconditions for a method the right way?Any examples or resources would be helpful
[148 byte] By [kumiko2ua] at [2007-11-27 3:24:33]
# 1

Use custom tags,

http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javadoc.html#tag

I use pre and post tags as below

/**

* Method description

*

* @pre

* @post

*

* @param

* @return

*/

Hope it helps

jamiea at 2007-7-12 8:27:19 > top of Java-index,Java Essentials,New To Java...