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

[zhuangzai]javaÈÝÆ÷

JavaÈÝÆ÷ÀàѧϰÐĵÃ
ÓÉÓÚÎÒ¶ÔC++±È½ÏÊìϤ£¬ËùÒÔѧϰJavaÓ¦¸ÃÖØµãÌå»áJava´øÀ´µÄиÅÄî¡£±¾ÎÄ»ù±¾ÉÏÊÇJava±ê×¼¿âÖм¯ºÏ¿ò¼ÜµÄ»ù±¾¸ÅÄûÓÐÀý×Ó¡£Ð´±¾ÎĵÄÄ¿µÄÔÚÓÚ·½±ãÎҺܳ¤Ê±¼äºóÈôÊÇÍüÁËÕâЩ¶«Î÷¿ÉÒÔͨ¹ýÕâÆ¬ÎÄÕÂѸËÙ»ØÒäÆðÀ´¡£
1. ½Ó¿Ú
Õû¸öJavaÈÝÆ÷ÀàµÄ»ù´¡ÊÇÈÝÆ÷½Ó¿Ú£¨ÀýÈçCollection£¬MapµÈ½Ó¿Ú£©£¬¶ø²»ÊÇÀࡣʹÓýӿڵÄ×î´óºÃ´¦ÔÚÓÚ½«ÈÝÆ÷µÄʵÏÖÓëÈÝÆ÷µÄ½Ó¿Ú·Ö¿ª£¬Õâ¾ÍÒâζ×ÅÄã¿ÉÒÔʹÓÃÏàͬµÄ·½·¨·ÃÎÊÈÝÆ÷¶ø²»ÓùØÐÄÈÝÆ÷ÊÇÓÉʲôÑùµÄÊý¾Ý½á¹¹ÊµÏֵġ£Í¬Ñù£¬Iterator½Ó¿ÚҲʹµÃÓû§¿ÉÒÔʹÓÃÏàͬµÄ·½·¨·ÃÎʲ»Í¬µÄÈÝÆ÷Àà¡£ÒÔÉÏÕâЩÊÇͨÓÃËã·¨µÄ»ù´¡¡£
1.1 Collection½Ó¿Ú
Collection½Ó¿ÚÓÐÈçÏ»ù±¾·½·¨£º
boolean add(Object obj)£ºÈç¹ûÌí¼Ó¶ÔÏóºó£¬¼¯ºÏȷʵ·¢ÉúÁ˱仯£¬Ôò·µ»Øtrue£»·ñÔò·µ»Øfalse
Iterator iterator()£º·µ»ØÒ»¸öʵÏÖÁËIterator½Ó¿ÚµÄ¶ÔÏó
´ËÍ⣬»¹ÓÐ
int size(),boolean isEmpty()£¬boolean contains(Object obj)£¬void clear()µÈÐí¶àÓÐÓõķ½·¨
1.2 Map½Ó¿Ú
MapÓÃÓÚ´æ·Å¹Ø¼ü×Ö/Öµ¶Ô¡£ÓÐÈçÏ»ù±¾·½·¨£º
Object get(Object key)
Object put(Object key,Object balue)
Set keySet()
Set entrySet()
´ËÍ⣬»¹ÓÐÆäËûÓÐÓõķ½·¨¡£
ÐèҪעÒâµÄÊÇ£¬´Ó±íÃæ¿´ËüËÆºõ¾ÍÊÇÒ»ÖÖÓɼüÖµ¶Ô¹¹³ÉµÄ¼¯ºÏ£¬µ«Êµ¼ÊÉϲ¢²»ÊÇÕâÑù¡£²»¹ýÁíÒ»·½Ãæ¼ÙÈ罫MapµÄijһ²¿·Ö¿´×÷¼¯ºÏ£¬ÓÐʱºòÒ²»¹ÊÇÏԵ÷dz£·½±ãµÄ¡£»»ÑÔÖ®Äã¿ÉÒÔ´´½¨Ò»¸ö¼¯ºÏÓÃËüÀ´±í´ïMapµÄÄÇÒ»²¿·Ö¡£×ÛÉÏËùÊö£¬Ò»¸öMap¿ÉÒÔ·µ»ØµÄ¶«Î÷°üÀ¨ËüµÄ¼üÖµ¹¹³ÉµÄÒ»¸öSet¡¢ÓÉËüµÄÖµ¹¹³ÉµÄÒ»¸ö¼¯ºÏ»òÕßÓÉËüµÄ¼üÖµ¶Ô¹¹³ÉµÄÒ»¸öSet¡£
1.3 Iterator½Ó¿Ú
Iterator½Ó¿ÚÓÐÏÂÃæ3¸ö»ù±¾·½·¨£º
Object next()£º·µ»Øµü´úÆ÷¸ÕÔ½¹ýµÄÔªËØµÄÒýÓÃ
boolean hasNext()£ºÅжÏÈÝÆ÷ÄÚÊÇ·ñ»¹Óпɹ©·ÃÎʵÄÔªËØ
void remove()£ºÉ¾³ýµü´úÆ÷¸ÕÔ½¹ýµÄÔªËØ
×¢Ò⣺JavaÖеĵü´úÆ÷ÓëSTLÖеĵü´úÆ÷ÔÚ¸ÅÄîÉÏÓкÜÖØÒªµÄÇø±ð¡£ÔÚSTLÖУ¬µü´úÆ÷ÀàËÆÓÚÊý×éµÄË÷Òý£¬Ê¹ÓÃÕâÖÖµü´úÆ÷¿ÉÒԲ鿴´æ·ÅÔÚ¸ÃλÖÃÉϵÄÔªËØ£¨ÀàËÆÓÚͨ¹ýÊý×éË÷ÒýiÀ´·ÃÎÊc[i]Ò»Ñù£©¡£JavaÖеĵü´úÆ÷²¢²»ÕâÑùÔËÐС£²é¿´ÓëλÖõı仯½ôÃܵĽáºÏÔÚÒ»Æð¡£Ã¿´Îͨ¹ýnext()·ÃÎÊÒ»¸öÔªËØµÄͬʱ£¬µü´úÆ÷µÄλÖûá×Ô¶¯Ïòǰ×ßÒ»²½¡£
Õâ¸öÎÊÌâ¿ÉÒÔÕâÑùÀí½â£ºJavaÖеĵü´úÆ÷Ö¸ÏòµÄλÖò¢²»ÊÇÔªËØ£¬¶øÊÇÔªËØÖ®¼ä¡£ÕâÑù£¬Ã¿´Îµ÷ÓÃnext()ʱ£¬µü´úÆ÷±ãÔ½¹ýÏÂÒ»¸öÔªËØ£¬Í¬Ê±·µ»ØËü¸ÕÔ½¹ýµÄÄǸöÔªËØµÄÒýÓá£
¸ù¾ÝÉÏÃæµÄ˵Ã÷£¬ºÜÈÝÒ׵óöÏÂÃæµÄ´úÂë


Ïà¹ØÎĵµ£º

sql 2005 ´æ´¢¹ý³Ì·ÖÒ³ java ´úÂë

 create PROCEDURE pagelist
@tablename nvarchar(50),
@fieldname nvarchar(50)='*',         
@pagesize int output,--ÿҳÏÔʾ¼Ç¼ÌõÊý
@currentpage int output,--µÚ¼¸Ò³
@orderid nvarchar(50),--Ö÷¼üÅÅÐò
@sort int,--ÅÅÐò·½Ê½£¬1±íʾÉýÐò£¬0±íʾ½µÐòÅÅÁÐ ......

Java SE 5·þÎñÖÜÆÚÒÑÖÕ½á

 ×ª×ÔInfoQ£¬×÷Õß Charles Humble ÒëÕß ÕÅÁú
±¾ÔÂ3ÈÕSunµÄJ2SE 5.0ʵÏÖÒÑÖÕ½á·þÎñÖÜÆÚ£¨End of Service Life£¬¼´EOSL£©£¬ÕâÒ»ÌìÒ²ÊÇ×îºóµÄÒ»´Î5.0¸üз¢²¼ÈÕÆÚ£¨J2SE 5.0 Update 22£©¡£Ñ°ÇóSunÖ§³ÖµÄÓû§¿ÉÒÔÑ¡ÔñÉý¼¶µ½Java 6»òÊǶ©ÔÄSunµÄJava for Business³ÌÐò¡£
SunÌṩÁ˶àÖÖ¶àÑùµÄJava¸¶·ÑÖ§³Ö¡£Java¾­µäÖ§³Ö£ ......

WindowsMobileϵͳ¹ÜÀíjava²å¼þ

       WindowsMobileϵͳÎÞ·¨Ö±½Ó¹ÜÀíJAVA²å¼þ£¬ÐèÒª½èÖúJAVAÐéÄâ»úÀ´¹ÜÀíJAVA²å¼þ£¬WMƽ̨³£¼ûµÄJAVAÐéÄâ»úÓÐJbedºÍJblend¡£ÏÂÃæ¾ÍWMƽ̨¹ÜÀíJAVA²å¼þ×ö¼òÒª½éÉÜ¡£
1¡¢Jbed
Esmertec¹«Ë¾µÄ²úÆ·£¬ÍⲿÃüÁî¹ÜÀí·½Ê½Îª£º
°²×°£º\Windows\jbed.exe -DFile.maxStorageSize=64M -ginstall \" ......

¼òµ¥µÄwebservices£¨java£©

    ×ª×Ôhttp://www.cnblogs.com/liwp_stephen/archive/2008/08/03/1259385.html£¬·Ç³£¸Ðл×÷ÕߵķÖÏí
 
    ʹÓÃAxis±àдWebService±È½Ï¼òµ¥£¬¾ÍÎÒµÄÀí½â£¬WebServiceµÄʵÏÖ´úÂëºÍ±àдJava´úÂëÆäʵûÓÐÊ²Ã´Çø±ð£¬Ö÷ÒªÊǽ«ÄÄЩJavaÀà·¢²¼ÎªWebService¡£ÏÂÃæÊÇÒ»¸ö´Ó±àд²âÊÔÀý× ......

An agile dynamic language for the Java Platform

 Groovy supports a few neat ways to work with SQL more easily and to make SQL more Groovy. You can perform queries and SQL statements, passing in variables easily with proper handling of statements, connections and exception handling thanks to closures.
import groovy.sql.Sql
def foo = 'cheese ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ