|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jmobilecore.support.Debug
public class Debug
Provides functionality for debugging.
The final static boolean ON
variable
should be used to wrap any debug statements, as in
if ( Debug.ON ) { do something }
.
Then, if the code is recompiled with ON set to false
,
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.
Field Summary | |
---|---|
static boolean |
ON
Indicated whether logging functionality is enabled. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean ON
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |