开发者

Function header comments in netbeans

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜