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.
精彩评论