|
- Java Documentation - @return and @param - Stack Overflow
The Javadoc style guide explains the intended uses of these tags @param describes a parameter and @return describes the return value (There are several other useful tags )
- How to Write Doc Comments for the Javadoc Tool - Oracle
The @return tag is required for every method that returns something other than void, even if it is redundant with the method description (Whenever possible, find something non-redundant (ideally, more specific) to use for the tag comment )
- 常见编程软件注释 @brief @param @return - CSDN博客
本文介绍了Qt开发中代码注释的规范,包括`@brief`、`@param`、`@return`等关键字段的使用,以及如何利用Qt的自动补全功能提高编码效率。 此外,还提到了一些注意事项,如注释开头需为` **`,`@`和`*`之间需有空格,并避免在注释中使用中文输入法。
- Understanding @return and @param Annotations in Java . . .
In Java, `@return` and `@param` are annotations used in Javadoc comments to document methods effectively They help describe the purpose of method parameters and the return value, enhancing code readability and maintainability
- Java return Keyword - W3Schools
The return keyword finishes the execution of a method, and can be used to return a value from a method Tip: Use the void keyword to specify that a method should not have a return value: A method without any return values: Try it Yourself » Read more about methods in our Java Methods Tutorial Java Keywords
|
|
|