📄 debug.java
字号:
/********************************************************************
*
* $RCSfile: Debug.java,v $ $Revision: 1.1 $ $Date: 2003/09/22 08:06:24 $
*
* $Log: Debug.java,v $
* Revision 1.1 2003/09/22 08:06:24 icestone
* init
*
*
*
**********************************************************************/
package pcdmupgradedata;
import java.util.Vector;
public class Debug
{
static boolean debug_flag = true;
public static void print(Object obj){
if (debug_flag==true)
System.out.println(obj);
}
/**系统调试信息打印方法*/
public static void print(String debugStr)
{
if (debug_flag==true)
System.out.println(debugStr);
}
public static void print(int debugInt)
{
if (debug_flag==true)
System.out.println(debugInt);
}
public static void print(boolean b)
{
if (debug_flag==true)
System.out.println(b);
}
public static void print(Vector vec){
if(debug_flag){
int vec_size = vec.size();
for(int i=0;i<vec_size;i++)
System.out.println(vec.elementAt(i) .toString());
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -