开发者

Function header comments in netbeans

开发者 https://www.devze.com 2023-01-27 13:33 出处:网络
How to generate these kind of function header comments in Netbeans? Is the any shortcut that would give a templa开发者_如何学Cte along with the parameter names?

How to generate these kind of function header comments in Netbeans? Is the any shortcut that would give a templa开发者_如何学Cte along with the parameter names?

/**
* Performs the Decrease Key operation
* @param index Index of the node in the RefArray whose key is to be decreased
* @param amount Amount by which key is to be reduced
*/
public void decreaseKey(int index, int amount)
{
}


Just above the method, constructor or field, type /** and follow by pressing enter key immediately. Netbeans should generate template for javadoc.

0

精彩评论

暂无评论...
验证码 换一张
取 消