⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debug.java

📁 j2me下的1套UI框架.包含j2me开发中会应用的各种低级组件
💻 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 + -