?? debug.java
字號:
package com.jmobilecore.support;
/**
* Provides functionality for debugging.
*
* The <code>final static boolean ON</code> variable
* should be used to wrap any debug statements, as in
* <code>if ( Debug.ON ) { do something } </code>.
* Then, if the code is recompiled with ON set to <code>false</code>,
* any code wrapped as shown above will not
* be included in the compiled class file, because the compiler recognizes the
* the 'do something' is unreachable and will eliminate it. It will
* reduce the size of your class files.
*
* @author Greg Gridin
*/
public class Debug {
/**
* Indicated whether logging functionality is enabled.
*/
public final static boolean ON = false;
/**
* Protectes Dubug class of instantiation
*/
private Debug() {
} // constructor
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -