如何在 Netbeans 中生成这些函数头注释?是否有任何快捷方式可以提供模板和参数名称?
/**
* 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)
{
}
最佳答案
在方法、构造函数或字段上方,键入 /**
,然后立即按回车键。 Netbeans 应该为 javadoc 生成模板。
关于java - netbeans 中的函数头注释,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4321715/