How to generate these kind of function header comments in Netbeans? Is the any shortcut that would give a template 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.