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

javaÖÐÊý¾ÝÀàÐͼäµÄÇ¿ÖÆת»»

javaÖлù±¾Êý¾ÝÀàÐÍ°´¾«¶ÈµÍ¸ßµÄÅÅÁÐ˳ÐòÊÇ
                        byte<short<int<long<float<double
1.µ±°Ñ¼¶±ðµÍµÄ±äÁ¿µÄÖµ¸³¸ø¼¶±ð¸ßµÄ±äÁ¿Ê±£¬ÏµÍ³»á×Ô¶¯Íê³ÉÊý¾ÝÀàÐ͵Äת»»
2.µ±°Ñ¼¶±ð¸ßµÄ±äÁ¿µÄÖµ¸³¸ø¼¶±ðµÍµÄ±äÁ¿Ê±£¬±ØÐëʹÓÃÏÔʾÀàÐÍת»»ÔËË㣨²»Â۸ü¶±ð¸ßµÄ±äÁ¿µÄÖµÊÇ·ñ³¬³ö¼¶±ðµÍµÄ±äÁ¿µÄÈ¡Öµ·¶Î§£¬   ¶¼ÒªÊ¹ÓÃÇ¿ÖÆÀàÐÍת»»£¬·ñÔò±¨´í£»µ±Ê¹ÓÃÁËÇ¿ÖÆÀàÐÍת»»£¬¶ø¼¶±ð¸ßµÄ±äÁ¿ÖеÄֵȷʵҲ³¬³öÁ˼¶±ðµÍµÄ±äÁ¿µÄÈ¡Öµ·¶Î§Ê±£¬´Ëʱ¼¶±ðµÍµÄ±äÁ¿Öн«´æ´¢Ò»¸öËæ»úµÄÊý£¬Ò²¾ÍÊÇÒ»¸ö´íÎóµÄÊý¾Ý£©
3.µ±°ÑÒ»¸öÕûÊý¸³¸øÒ»¸öbyte,short,int»òlongÐͱäÁ¿Ê±£¬²»¿ÉÒÔ³¬³öÕâЩ±äÁ¿µÄÈ¡Öµ·¶Î§£¬·ñÔò±ØÐë½øÐÐÀàÐÍת»»ÔËËã
 


Ïà¹ØÎĵµ£º

javaÖÐhashcode()ºÍequals()µÄÏê½â(ת)

Ô­ÌùµØÖ·http://www.javaeye.com/topic/257191
½ñÌìÏÂÎçÑо¿ÁË°ëÌìhashcode()ºÍequals()·½·¨£¬ÖÕÓÚÓÐÁËÒ»µãµãµÄÃ÷°×£¬Ð´ÏÂÀ´Óë´ó¼Ò·ÖÏí£¨zhaoxudong
2008.10.23Íí21.36£©¡£
1. Ê×ÏÈequals()ºÍhashcode()ÕâÁ½¸ö·½·¨¶¼ÊÇ´ÓobjectÀàÖм̳йýÀ´µÄ¡£
equals()·½·¨ÔÚobjectÀàÖж¨ÒåÈçÏ£º
  public boolean equals( ......

Java ²¢·¢Ñ§Ï°


Ò»¡¢´´½¨ÈÎÎñ
 
ÈÎÎñ¿ÉÒÔÀí½âΪһ¶Î¶ÀÁ¢Ö´ÐеĴúÂ룬ËüÍê³ÉÒ»¶¨µÄ¹¦ÄÜ¡£
ÔÚJava 5¼°ÒÔÉÏ°æ±¾Öв»½ö¿ÉÒÔÀûÓà Runnable½Ó¿Ú£¬»¹¿ÉÒÔÀûÓÃCallable½Ó¿Ú¡£
    Á½ÖÖÈÎÎñµÄÇø±ð£ºRunnable µÄrun()·½·¨Íê³ÉµÄÈÎÎñÊÇûÓзµ»ØÖµµÄ - void
    ¶øCallable µÄcall()·½·¨Íê³ÉµÄÈÎÎñÊÇÓзµ»ØÖ ......

Java 6 RowSet ʹÓÃÍêÈ«ÆÊÎö(2)

Java 6 RowSet ʹÓÃÍêÈ«ÆÊÎö(2)
¹Ø¼ü×Ö: rowset
·ÖÒ³
ÓÉÓÚ CachedRowSet Êǽ«Êý¾ÝÁÙʱ´æ´¢ÔÚÄÚ´æÖУ¬Òò´Ë¶ÔÓÚÐí¶à SQL ²éѯ£¬»á·µ»Ø´óÁ¿µÄÊý¾Ý¡£Èç¹û½«Õû¸ö½á¹û¼¯È«²¿´æ´¢ÔÚÄÚ´æÖлáÕ¼ÓôóÁ¿µÄÄڴ棬ÓÐʱÉõÖÁÊDz»¿ÉÐеġ£¶Ô´Ë CachedRowSet ÌṩÁË·ÖÅú´Ó ResultSet ÖлñÈ¡Êý¾ÝµÄ·½Ê½£¬Õâ¾ÍÊÇ·ÖÒ³¡£Ó¦ÓóÌÐò¿ÉÒÔ¼òµ¥µÄͨ ......

Java µÄ»º´æµÄʵÖÊ

¼ÆËã»ú»º´æµÄ¶¨Òå £º»º´æÊÇCPUµÄÒ»²¿·Ö£¬Ëü´æÔÚÓÚCPUÖÐ
¾Í´Ë¿ÉÒÔ˵Ã÷ CPUÖв»¿ÉÄÜ´æ·Å´óÁ¿µÄÊý¾Ý
ËùÒÔjava µÄ»º´æ ²»ÊÇÕæÕýÒâÒåÉϵĻº´æ
¶øÇÒ
»º´æÊÇΪÁ˽â¾öCPUËٶȺÍÄÚ´æËٶȵÄËٶȲîÒìÎÊÌâ
ÄÚ´æÖб»CPU·ÃÎÊ×îƵ·±µÄÊý¾ÝºÍÖ¸Áî±»¸´ÖÆÈëCPUÖеĻº´æ£¬ÕâÑùCPU¾Í¿ÉÒÔ²»¾­³£µ½Ïó“ÎÏÅ£”Ò»ÑùÂýµÄÄÚ´æÖÐȥȡÊý ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ