📄 numberbox.java
字号:
/*
* NumberBox.java
*
* Created on 2007年12月4日, 下午5:04
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package myUtil;
/**
* the class used to box or unbox integor and double.
* @author yuhui_bear
*/
public class NumberBox {
public int intData;
public double doubleData;
public NumberBox(int n){
intData = n;
doubleData=0;
}
public NumberBox(){
intData = 0;
doubleData =0;
}
public NumberBox(double dd){
doubleData = dd;
intData =0;
}
public double getData(){
return doubleData;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -