simplecaculator.java
来自「PSP实践第一个练习」· Java 代码 · 共 37 行
JAVA
37 行
package psp0_1;
/**
* the interface of the caculation
* @author qian
* 2006 9/12
*/
public interface SimpleCaculator {
/**
* add a double to the dataStructure
* @param num
*/
public void addNum(double num);
/**
* clear the data in the dataStructrue
*
*/
public void clearFigure();
/**
* get the mean of the data
* @return
*/
public double getMean();
/**
* get the deviation of the data
* @return
*/
public double getDeviation();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?