JAVAµ÷ÓÃCPP
2009-11-23
Ö§³Ö³£¼ûµÄÊý¾ÝÀàÐ͵ÄÓ³Éä Java ÀàÐÍ C ÀàÐÍ ÔÉú±íÏÖ
String char* \0½áÊøµÄÊý×é (native encoding or jna.encoding)
WString wchar_t* \0½áÊøµÄÊý×é (unicode)
String[] char** \0½áÊøµÄÊý×é
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
fm.split("["); // error
-------------------
java.util.regex.PatternSyntaxException: Unclosed character class near index 0[+
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.clazz(Unknown Source)
& ......
×÷ÓÃÓò ¹¦ÄÜ ¿ì½Ý¼ü
Îı¾±à¼Æ÷ ²éÕÒÉÏÒ»¸ö Ctrl+Shift+K
Îı¾±à¼Æ÷ ²éÕÒÏÂÒ»¸ö Ctrl+K
È«¾Ö »Ö¸´ÉÏÒ»¸öÑ¡Ôñ Alt+Shift+↓
È«¾Ö ¿ìËÙÐÞÕý Ctrl1+1
È«¾Ö ÄÚÈݸ¨Öú Alt+/
È«¾Ö ÉÏÏÂÎÄÐÅÏ¢ Alt+£¿
Alt+Shift+?
Ctrl+Shift+Space
Java±à¼Æ÷ ÏÔʾ¹¤¾ßÌáʾÃèÊö F2
Java±à¼Æ÷ Ñ¡Ôñ·â×°ÔªËØ Alt+Shi ......
http://hi.baidu.com/kingtckingtc/blog/item/ca5606f4decd5767ddc4740b.html
JVMÄÚ´æ¶Î·ÖÅ䣬JavaÀ¬»ø»ØÊÕµ÷ÓÅ£¬HeapÉ趨
2009Äê09ÔÂ08ÈÕ ÐÇÆÚ¶þ 14:57
1. JVMÄÚ´æ¶Î·ÖÅä¼°Æô¶¯²ÎÊý£º
J2EE·þÎñÆ÷µÄÄÚ´æ×é³É£º
? Java¶Ñ£ºÎÒÃǵijÌÐòºÍ¶ÔÏó¶¼ÔÚÕâ¸ö¶Ñ½øÐйÜÀí
? C¶Ñ£ºµ±ÒýÓõ½Ò»Ð©NativeµÄ¶ÔÏó£¬ÈçÍøÂç·ÃÎÊ¡¢OCI ......
ÁªÍ¨£º³¹µ×·ÅÆúORÓûÇܹÊ×Ý£¿
ÒµÄÚÈÕÇ°´«³öÏûÏ¢£¬ÓÉÓÚÆ»¹û¼á³Ö·Ö³Éģʽ£¬ÁªÍ¨¸ß²ã¶ÔÓÚÒýÈëÆ»¹û̬¶ÈÒÑÎÞÔçÏȼá¾ö¡£“Ëæ×ÅÊÖ»úµÄ²»¶Ï¸üл»´ú£¬Ò»µãÓпÉÄÜ°üº¬µÄ¹¦ÄÜÌرðÊÇÁªÍ¨¼ÓÈë¹È¸è¿ª·ÅÊÖ»úÁªÃË£¬ÔÚÊý¾Ý±£»¤ºÍ¼á¹ÌÐ×÷¼Æ»®ÍÆ×ÔÓпª·Å²Ù×÷ƽ̨ÊÖ»ú£¬ÔÚÊý¾Ý±£»¤ºÍ¼á¹ÌÐ×÷ javaµç×ÓÊéÃâ·ÑÏÂÔØiPhoneÔÚÆäÕ½ÂÔÖ ......