Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

javaÖÐthisµÄÓ÷¨

תÌûthisµÄÓ÷¨·½±ã×Ô¼ºÒÔºó²é¿´
±ØÐëÓÃthis¹Ø¼ü×ÖµÄÈýÖÖÇé¿ö:
   1¡¢ÎÒÃÇÏëͨ¹ý¹¹Ôì·½·¨½«Íⲿ´«ÈëµÄ²ÎÊý¸³Öµ¸øÀàµÄ³ÉÔ±±äÁ¿£¬¹¹Ôì·½·¨µÄÐÎʽ²ÎÊýÃû³ÆÓëÀàµÄ³ÉÔ±±äÁ¿ÃûÏàͬ¡£ÀýÈ磺
        class Person
        ...{
             String name;
             public Person(String name)
             ...{
                  this.name = name;
             } 
        }
2¡¢¼ÙÉèÓÐÒ»¸öÈÝÆ÷ÀàºÍÒ»¸ö²¿¼þÀ࣬ÔÚÈÝÆ÷ÀàµÄij¸ö·½·¨ÖÐÒª´´½¨²¿¼þÀàµÄʵÀý¶ÔÏ󣬶ø²¿¼þÀàµÄ¹¹Ôì·½·¨Òª½ÓÊÜÒ»¸ö´ú±íÆäËùÔÚÈÝÆ÷µÄ²ÎÊý¡£ÀýÈ磺 
 class Container
        ...{
             Component comp;
             public void addComponent()
             ...{
                  comp = new Component(this);
             }
        }
        class Component
        ...{
             Container myContainer;
             public&n


Ïà¹ØÎĵµ£º

java clone ½âÎö

ת×Ô£ºhttp://ttitfly.javaeye.com/blog/155422
1.javaÀïµÄclone·ÖΪ£º
A:dz¸´ÖÆ£¨Ç³¿Ë¡£©: dz¸´Öƽö½ö¸´ÖÆËù¿¼ÂǵĶÔÏ󣬶ø²»¸´ÖÆËüËùÒýÓõĶÔÏó¡£
b:ÉÖÆ£¨Éî¿Ë¡£©£ºÉÖÆ°ÑÒª¸´ÖƵĶÔÏóËùÒýÓõĶÔÏ󶼸´ÖÆÁËÒ»±é¡£
JavaÖжÔÏóµÄ¿Ë¡,ΪÁË»ñÈ¡¶ÔÏóµÄÒ»·Ý¿½±´£¬ÎÒÃÇ¿ÉÒÔÀûÓÃObjectÀàµÄclone()·½·¨¡£±ØÐëÒª×ñÑ­ ......

Java¾²Ì¬´úÂë¼ì²é¹¤¾ß±Ê¼Ç

code review ¹¤¾ßÁбí
1.´úÂë¸ñʽ¼ì²écheckstyle;
2.ÐÔÄÜ°²È«×î¼Ñʵ¼ù¼ì²éRAD Software AnalyzerºÍFindBug;
3.ÒÀÀµ¼ì²éJDepend;
4.Öظ´ÐÔ¼ì²éeclipse PMD²å¼þ;
5.¸´ÔӶȼì²éeclipse Metrics²å¼þ;
6.Э×÷¹¤¾ßJupiter
 
Jupiter
1.Unset±íʾûÓÐÑ¡Ôñ£¬¶ø²»ÊÇÒ»¸ö¾ßÌåÀàÐÍ
2.Èý¸ö½×¶ÎÓÐĬÈϵÄFilterÌõ¼þ£ ......

¼ò»¯JavaÈÕÆÚ²Ù×÷µÄ¿ªÔ´ÏîÄ¿DATE4J£¬³¬¼¶ºÃÓÃ

ÒÔÍùҪʹÓÃJava¶Ôʱ¼äÈÕÆÚ½øÐвÙ×÷£¬¿ÉÄÜ»áÓõ½ÒÔϵÄһЩÀࣺ
Date and its subclasses :
java.util.Date
java.sql.Date
java.sql.Timestamp
The calendar and time zone classes :
java.util.Calendar
java.util.GregorianCalendar
java.util.TimeZone
java.util.SimpleTimeZone
(for use with the Gregorian ......

Óë Josh Bloch ̽ÌÖ Java δÀ´

×÷Õß




Josh Long




ÒëÕß

ËÎçâ

·¢²¼ÓÚ
2010Äê5ÔÂ5ÈÕ ÏÂÎç9ʱ7·Ö

Josh BlochÔÚSun¹«Ë¾¶àÄêΪJavaƽ̨×÷³öÁ˽ܳö¹±Ï×£¨Èç¹ûÄãÓùýJava
Collections¿ò¼Ü¾Í»áÁ˽âÕâÒ»µã£©£¬ÏÖÔÚGoogle¾ÍÖ°£¬ÊÇ»ñ½±Í¼Ê顶Effective ......

ÏòÖ¸¶¨URL·¢ËÍGET·½·¨µÄÇëÇó£¨java£©

ʹÓÃJava·¢ËÍGET¡¢POSTÇëÇó
——½ÚÑ¡×Ô¡¶·è¿ñJava½²Òå¡·
URLµÄopenConnection()·½·¨½«·µ»ØÒ»¸öURLConnection¶ÔÏ󣬸öÔÏó±íʾӦÓóÌÐòºÍ URL Ö®¼äµÄͨÐÅÁ´½Ó¡£³ÌÐò¿ÉÒÔͨ¹ýURLConnectionʵÀýÏò¸ÃURL·¢ËÍÇëÇ󡢶ÁÈ¡URLÒýÓõÄ×ÊÔ´¡£
ͨ³£´´½¨Ò»¸öºÍ URL µÄÁ¬½Ó£¬²¢·¢ËÍÇëÇ󡢶ÁÈ¡´Ë URL ÒýÓõÄ×ÊÔ´ÐèÒªÈçϼ¸¸ö² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ