|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.zkoss.lang.D
public class D
Debugging utilities.
Because Java has no preprocessor, we have to make the debugging
codes being able to removed by testing D.ON or D.OFF first.
For example,
if (D.ON) your_test_codes;
Field Summary | |
---|---|
static boolean |
OFF
Denotes whether the debugging is OFF. |
static boolean |
ON
Denotes whether the debugging is ON. |
Constructor Summary | |
---|---|
D()
|
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
NOTE: don't modify the definition manually. It is done automatically by bin/setdbg
public static final boolean OFF
Constructor Detail |
---|
public D()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |