JavaÖ®¸¸÷öÈ»ÀëÖ° ¿ªÔ´½«ºÎÈ¥ºÎ´Ó
Java´´Ê¼ÈËղķ˹·¸ß˹ÁÖ(James Gosling)ÈÕÇ°ÔÚ²©¿ÍÖгÆ,ÒѾÔÚ4ÔÂ2ÈÕ´Ó¼×¹ÇÎÄ(Oracle£©ÍËÐÝ¡£ºÜ¶àÈ˵ĵÚÒ»·´Ó¦ÊÇ£¬ËûÊÇ·ñ»áͶ±¼Î¢Èí¡¢GoogleÖ®ÀàµÄ¹«Ë¾ÄØ£¿²»¹ýGosling±íʾĿǰ»¹Ã»ÓнøÒ»²½´òËã¡£
¹ØÓÚÀëÖ°µÄ¾ßÌåÔÒò£¬¸ß˹ÁÖûÓÐ͸¶¡£Ö»ÊÇÔÚ²©¿ÍÖÐдµÀ£º“Êǵģ¬ÄÇЩ´«ÑÔ¶¼ÊÇÕæµÄ£ºÎÒÒѾÔÚÒ»ÖÜÇ°£¨4ÔÂ2ÈÕ£©´ÓOracle´ÇÖ°¡£ÎÒÒª¶Ô ÖÜÈý²Î¼ÓÊ¥±ËµÃ±¤TechDaysÏ£ÍûÌýÎÒÑݽ² µÄËùÓÐÈ˵ÀǸ¡£Ã»Äܳöϯ£¬ÎҸе½·Ç³£ÄÑÊÜ¡£ÖÁÓÚÀ뿪µÄÔÒò£¬ÎÒºÜÄѻشð£ºÄÜ˵µÄÈκÎ׼ȷ¶øÇÒÕæʵµÄ»°¶¼±×´óÓÚÀû¡£×îÀ§Äѵĵط½£¬ÊÇÎÞ·¨ÔÙÓëÕâЩÄêÀ´ÎÒÓÐÐÒ Ò»Æð¹¤×÷µÄËùÓÐÈ˹²ÊÂÁË¡£³ýÁËÔÚÕÒ¹¤×÷֮ǰÐÝÏ¢Ò»¶Îʱ¼äÖ®Í⣬ÎÒ²»ÖªµÀÏÂÒ»²½»á×öЩʲô¡£”
¸ß˹ÁÖ´ÇÖ°Ç°µ£Èμ׹ÇÎÄ¿Í»§¶ËÈí¼þ¼¯ÍŵÄÊ×ϯ¼¼Êõ¹Ù,¶øÔÚ¼ÓÃ˼׹ÇÎÄ֮ǰ,¸ß˹ÁÖµ£ÈÎSun¹«Ë¾²úÆ·¿ª·¢²¿Ê×ϯ¼¼Êõ¹Ù¡£
´Ë²»µ½Ò»¸öÔÂÇ°,¸ß˹ÁÖ»¹Ç¿µ÷ÁËJava¶ÔÓÚ¼×¹ÇÎĵÄÖØÒªÐÔ¡£¸ß˹ÁÖÔÚÀ˹ά¼Ó˹µÄÒ»´ÎJavaÑÐÌÖ»áÉÏ˵:“¼×¹ÇÎĿ϶¨»á¾¡È«Á¦±£³Ö Java ¼°Õû¸öJavaϵͳµÄ»îÁ¦²¢Ê¹Æä³ÖÐø½¡¿µ·¢Õ¹¡£”¶ø̸µ½¸öÈËʱ£¬Ëûµ±Ê±ËµÏ£Íû×Ô¼º2030ÄêµÄʱºòÈÔÔÚд´úÂë¡£¶ø½ñÄê1ÔÂÒÑ¿ªÊ¼Óд«ÑÔ˵ Gosling½«À뿪¡£
½ñÄê1Ô·ݼ׹ÇÎÄÊÕ¹ºSunµÄ½»Ò×Íê³Éºó,¶àλǰSun¸ß¹ÜÒѾ´Ó¼×¹ÇÎÄÀëÖ°,ÆäÖаüÀ¨Ç°SunÊ×ϯִÐйÙÇÇÄÉÉ·Ê©Íß´Ä£¨Jonathan Schwartz£©ÒÔ¼°XML·¢Ã÷È˵ÙÄ··²¼À×£¨Tim Bray£©,¸ß˹ÁÖÊÇ×î½ü´Ó¼×¹ÇÎÄÀëÖ°µÄÒ»ÃûÇ°Sun¸ß¹Ü¡£
¸ß˹ÁÖµÄÀ뿪ÈÃÒµ½ç¶ÔÓÚ¼×¹ÇÎĶԴý¿ªÔ´¼¼ÊõµÄ³ÏÒâÔٴβúÉúÁË»³ÒÉ¡£
Ïà¹ØÎĵµ£º
java:javaÖÐMapÀàÓÐʲô×÷Ó㬾ßÌåÔõôÓÃÄØ??
2007-11-11 11:59
Java Map ¼¯ºÏÀà¼ò½é
×÷ÕߣºJack Shirazi
Á˽â×î³£Óõļ¯ºÏÀàÐÍÖ®Ò» Map µÄ»ù´¡ÖªÊ¶ÒÔ¼°ÈçºÎÕë¶ÔÄúÓ¦ÓóÌÐòÌØÓеÄÊý¾ÝÓÅ»¯ Map¡£
±¾ÎÄÏà¹ØÏÂÔØ£º
· Jack µÄ HashMap ²âÊÔ
· Oracle JDeveloper 10g
java.util Öеļ¯ºÏÀà°üº¬ Java ÖÐijР......
Ãô½Ý¿ª·¢µÄÀíÄîÒѾÁ÷ÐÐÁ˺ܳ¤µÄʱ¼ä£¬ÔÚÃô½Ý¿ª·¢ÖеĿª·¢µü´ú½×¶ÎÖУ¬ÎÒÃÇ¿ÉÒÔͨ¹ýÎå¸ö²½Ö裬À´ÓÐЧµÄÌá¸ßÕû¸öÏîÄ¿µÄ´úÂëÖÊÁ¿¡£
JavaÏîÄ¿¿ª·¢¹ý³ÌÖУ¬ÓÉÓÚ¿ª·¢ÈËÔ±µÄ¾Ñé¡¢Java´úÂë±àдϰ¹ß£¬ÒÔ¼°È±·¦Í³Ò»µÄ±ê×¼ºÍ¹ÜÀíÁ÷³Ì£¬ÍùÍùµ¼ÖÂÕû¸öÏîÄ¿µÄ´úÂëÖÊÁ¿½Ï²î£¬ÄÑÓÚά »¤£¬ÐèÒª½Ï´óµÄ²âÊÔͶÈëºÍÖÜÆÚµÈÎÊÌâ¡£ÕâЩÎÊÌâÔÚÒ»¸öÏ ......
package search;
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* ¶ÁȡĿ¼¼°×ÓĿ¼ÏÂÖ¸¶¨ÎļþÃûµÄ·¾¶ ²¢·Åµ½Ò»¸öÊý×éÀïÃæ·µ»Ø±éÀú
*
*
*/
public class FileViewer {
public static void search(String path, String[] Extention, boolean isdepth, ......
LombokÊÇÒ»ÖÖJavaArchive(JAR)Îļþ£¬¿ÉÓÃÀ´Ïû³ýJava´úÂëµÄÈß³¤¡£Í¨¹ýÔÚ¿ª·¢»·¾³ÖÐʵÏÖLombok£¬¿ª·¢ÈËÔ±¿ÉÒÔ½ÚÊ¡¹¹½¨ÖîÈçhashCode()ºÍequals()ÕâÑùµÄ·½·¨ÒÔ¼°ÒÔÍùÓÃÀ´·ÖÀà¸÷ÖÖaccessorºÍmutatorµÄ´óÁ¿Ê±¼ä¡£
ÎÒÃÇ¿´ÕâÑùÒ»¸öÀý×Ó£¬Ò»¸ö±ê×¼µÄJavabean¡£Ò»¸öµäÐ͵ÄJavabeanÒ»°ã¾ßÓм¸¸öÊôÐÔ¡£Ã¿¸öÊôÐÔ¾ßÓÐÒ»¸öaccessorºÍmutat ......