Programming/Java
conditional compile on java
halatha
2011. 3. 29. 04:03
C의 #ifdef를 java에서 흉내내는 방법
http://cafe.naver.com/javacircle/43981
http://www.experts-exchange.com/Programming/Languages/Java/Q_11152787.html
http://ssami.tistory.com/272
http://weblogs.java.net/blog/schaefa/archive/2005/01/how_to_do_condi_1.html
http://cafe.naver.com/javacircle/43981
http://www.experts-exchange.com/Programming/Languages/Java/Q_11152787.html
public static final boolean DEBUG = true;
if(DEBUG) { System.out.println("Debugging on"); }
is functionally equivalent to
#define DEBUG 1
#if DEBUG
cout << "Debugging on" << endl;
#endif
http://java.sys-con.com/node/36226http://ssami.tistory.com/272
http://weblogs.java.net/blog/schaefa/archive/2005/01/how_to_do_condi_1.html