只有在/** */中的注释才能生成文档.
/**
* Description of the class, method, attribute.
*
* @author
* @version
* @param
* @return void function can not use this tag.
* @exception
* @deprecated
* @see
* @since JDK6.0
*/
/**
* Print the passed value to the screen.
*
* @param value is to printed
* @return if value > 0, return true, otherwise return false
*/
public boolean print(int value) {
System.out.println(value);
return value > 0 ? true : false;
}