?? debug.java
字號:
/* * * * *//** * This class makes it easier to print out debug statements. * The Debug.print statements are printed to System.err * if debuggingOn = true. */package util;public final class Debug { public static final boolean debuggingOn = true; public static final void print(String msg) { if (debuggingOn) { System.err.println("Debug: " + msg); } } public static final void print(String msg, Object object) { if (debuggingOn) { System.err.println("Debug: " + msg); System.err.println(" " + object.getClass().getName()); } } public static final void println(String msg) { if (debuggingOn) { System.err.println("Debug: " + msg); } }} // Debug
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -