´«ÖDz¥¿ÍJAVAÅàѵ2010 5 9
½ñÌìÊÇÏîÄ¿µÄµÚÈýÌìÁË£¬ºÍ×òÌìµÄÄÚÈݲ¶à£¬ËùÒÔ½ñÌìµÄ×ܽáûÓÐΧÈÆÏîÄ¿Õ¹¿ª£¬ÎÒÖ®ËùÒÔ£¬ÒªÄóöCVS/SVNÀ´ËµµÄÔÒòÊÇÒòΪ°æ±¾¿ØÖÆÆ÷·Ç³£µÄÖØÒª£¬ÒòΪÒÔºóÎÒÃǽøÈ빫˾֮ºó£¬µÚÒ»´ÎÊÂÇé¾ÍÊǸæËßµ¥ÈË¿ª·¢µÄģʽ £¬´ó¼Ò¶¼ÖªµÀÔÚÆóÒµÀïÃ棬ÊDz»ÊÇÊÇÒ»¸öÈË¿ª·¢µÄ£¬ÊÇÐ×÷¿ª·¢¡£ËùÒÔ£¬×÷Ϊһ¸öÓпª·¢¾ÑéµÄͬ־¶¼ÖªµÀ£¬ÕâÁ½Ñù֪ʶµãÊDZØÐëÒªÕÆÎÕ£¬ÎÒ¸öÈ˸оõ£¬²»¹âÒªÕÆÎÕ£¬Õâ¸öÒ»¶¨Òª×÷ΪÓÇÏȵĵØλ¡£
ÒÔÇ°Ò»Ö±ÓÐÐí¶àµÄÀ§»ó£¬Ò²²»ÊÇÎÒ²»ÏàÐÅÎÒÒÔÇ°µÄ³ÌÐòÔ±£¬ÎÒÒÔǰһֱдµÄ´úÂëÎÒ×Ô¼ºÊDz»ÂúÒâµÄ£¬×îÖ÷ÒªµÄÔÒò»¹ÊÇÒòΪÎÒÄǸöʱºòµÄˮƽºÜ²Ë£¬ËäȻдÁ˽«¾ÉÒ»ÄêµÄ´úÂ룬ËäȻҲһֱÔÚ½ü²½£¬µ«ÊÇÎÒ»¹ÊǸоõÎÒдµÄ´úÂëÖÊÁ¿²»¸ß¡£ÒòΪÓÐÒ»¸ö±ê×¼£¬Ö»ÊǸöÈ˸оõ£¬ÒòΪºÍÎÒÐ×÷µÄÁ½¸öͬÊ£¬¶¼ÊÇÓ¦½ìÉú£¬´ó¼Ò¶¼ÊÇÈëÕâ¸öÐÐÒµ£¬ËùÒÔ¶¼²»ÖªµÀÔõôÑùµÄ´úÂë²ÅÊÇÓÅÖʵġ£
ÈçÄºÍÕâЩÃûʦ£¬ÌرðÊÇ´ÓÏÖÔÚÕâ¸öÐÐÒµµÄʵս¹ý³ÌÖУ¬ÒµÎñÂß¼ËäÈ»²»ÊǺܸºÔð£¬ÎÒ¸öÈ˸оõÕâ·½ÃæÒ²²»ÊǺÜÄѵÄÊÂÇ飬ÎÒ×î´óµÄÊÕ»ñ¾ÍÊÇ£¬ÖªµÀÁËÒ»¸öÏîÄ¿´ÓÇ°µ½ºóµÄÁ÷³Ì£¬Ò²Ã÷°×ÁË£¬ÒòΪҪ²ÉÓÃÈý²ãµÄ¼Ü¹¹£¬ËäÈ»ÒÔÇ°Ò²ÖªµÀʲô½âź£¬´úÂëÖØÓÃÕâЩרҵÊõÓ½éÀí˵ʵÔÚÊÇÖªÆäÈ»£¬¶ø²»ÖªÆäËùÒÔÈ»£¬ÏÖÔÚËãÊÇÖªµÀÁËÕâÑù×öµÄµÄÈ·È·¿ÉÒÔ´ïµ½ÁËÕâЩЧ¹û£¬Ò²Ã÷°×ÁËд³ÌÐòµÄ˼·£¬ÊǷdz£ÖØÒªµÄ¡£
ÑÔ¹æÕý´«£¬CVS/SVNÊǽñÌìµÄÖص㣬ϣÍûÿһ¸öÈ˶¼ÄÜÊìϤµÄÔËÓã¬ÎªÎÒÃÇÕÒ¹¤×÷µÄʱºò²»ÖÁÓÚÍϺó½Å¡£
1.Æä¸ÅÄî×÷ΪÁ˽⣬ÒÔÇ°ÓÐʹÓùýCVSµÄ»ù´¡£¬ÖªÊ¶°æ±¾¿ØÖÆÆ÷µÄ×÷Óá£
2.SVN¹¤×÷µÄ»ù±¾Ë¼ÏëÊÇÕâÑùµÄ£º
ÔÚһ̨·þÎñÆ÷ÉϽ¨Á¢Ò»¸ö²Ö¿â£¬²Ö¿âÖÐÓÐÐí¶àÏîÄ¿µÄÔ´´úÂë¡£Óɲֿâ¹ÜÀíÔ±¹ÜÀí¡£Ã¿¸öÓû§ÔÚʹÓÃ
֮ǰ£¬ÏȰѲֿâÖеÄÏîÄ¿ÎļþÏÂÔص½±¾µØ¡£Óû§×öµÄÈκθü¸Ä£¬¶¼ÊÇÔÚ±¾µØ½øÐеģ¬È»ºóʹÓÃ
SVNÃüÁî½øÐÐÌá½»£¬ÓÉSVN¹ÜÀíԱͳһÐ޸ġ£ÕâÑù¾Í¿ÉÒÔ¸ú×ÙÎļþ±ä»¯£¬³åÍ»¿ØÖÆÁË¡£
3.°²×°Ê±£¬²»ÒªÊ¹ÓÃÖÐÎÄ ºÍ ÓпոñµÄ·¾¶¡£
4.Æô¶¯SVN
1. DOSϽøÈëµ½svn/subversion/bin Ŀ¼ svnserve --help²é¿´Ó÷¨¡£ºǫ́ģʽÔÚWINDOWSÏÂÎÞ¶à´óÓÃ;¡£svnserve --dÔËÓúǫ́ģʽ¡£
2.Æô¶¯Ö®ºó£¬¿ÉÒԲ鿴½ø³Ì¿´µ½Ò»¸ösvnserve.exeµÄÃû³Æ£¬±íʾ³É¹¦¡£Í¬Ê±Ò²¿ÉÄÜÓÃÃüÁnetstat --an£©£º¿ÉÒÔ¿´µ½Ò»¸ö¶Ë¿ÚΪ£º3690(SVNĬÈÏ)
3.°ÑSVNÅäÖóÉwindows·þÎñµÄ²½Ö裺
1.sc create ·þÎñÃû³Æ binPath= "SVNµÄbinĿ¼ÏµÄsvnse
Ïà¹ØÎĵµ£º
JAVA¶¯Ì¬´úÀíÄÚ²¿ÊµÏÖ
Ò»¡¡´úÀíÉè¼Æģʽ
´úÀíģʽΪĿ±ê¶ÔÏóÌṩһÖÖ´úÀíÒÔ¿ØÖƶÔʵ¼Ê¶ÔÏóµÄ·ÃÎÊ¡£ÔÚijЩÇé¿öÏ£¬Ò»¸ö¿Í»§²»Ïë»òÕß²»ÄÜÖ±½ÓÒýÓÃÁíÒ»¸ö¶ÔÏ󣬶ø´úÀí¶ÔÏó¿ÉÒÔÔÚ¿Í»§¶ËºÍÄ¿±ê¶ÔÏóÖ®¼äÆðµ½ÖнéµÄ×÷Óá£
ΪÁ˱£³ÖÐÐΪµÄÒ»ÖÂÐÔ£¬´úÀíÀàºÍʵ¼ÊίÍÐÀàͨ³£»áʵÏÖÏàͬµÄ½Ó¿Ú£¬ËùÒÔÔÚ·ÃÎÊÕß¿´À´Á½ÕßûÓÐË¿ºÁµÄÇ ......
1. ÔÚJ2SE5.0ÖÐÒª¶¨Òåö¾ÙÀàÐÍÊÇʹÓÃenum¹Ø¼ü´Ê£¬Ã¶¾ÙÀàÐÍÖ÷ÒªÌṩһЩ³£Êý¡£ÈçÏÂÁдúÂ붨ÒåÁËActionö¾ÙÀàÐÍ£º
1. ÔÚJ2SE5.0ÖÐÒª¶¨Òåö¾ÙÀàÐÍÊÇʹÓÃenum¹Ø¼ü´Ê£¬Ã¶¾ÙÀàÐÍÖ÷ÒªÌṩһЩ³£Êý¡£ÈçÏÂÁдúÂ붨ÒåÁËActionö¾ÙÀàÐÍ£º
Java´úÂë
public enum Action
{
TURN_LEFT,
TURN_RIGHT,
......
ÎÊÌâµÄÒýÈëÊÇÒòΪÏÂÎçÔÚȺÀï¿´µ½ÁËÒ»¸öÍøÓѵÄÎÊÌ⣺
¸ø¶¨ÈçÏÂJava ´úÂ룬±àÒëÔËÐкó£¬Êä³ö½á¹ûÊÇ£¨ £©¡£
public class Test {
public static void main(String [ ] args) {
StringBuffer a = new StringBuffer(“A”);
&n ......
ÈκÎÊÂÎïµÄ²úÉú¼ÈÓбØÈ»µÄÔÒòÒ²ÓÐżȻµÄÒòËØ£¬javaÓïÑԵijöÏÖÒ²ÑéÖ¤ÁËÕâÒ»µã¡£1991Ä꣬ÃÀ¹úSun Microsystems¹«Ë¾µÄij¸öÑо¿Ð¡×éΪÁËÄܹ»ÔÚÏû·Ñµç×Ó²úÆ·ÉÏ¿ª·¢Ó¦ÓóÌÐò£¬»ý¼«Ñ°ÕÒºÏÊʵıà³ÌÓïÑÔ¡£Ïû·Ñµç×Ó²úÆ·ÖÖÀà·±¶à£¬°üÀ¨PDA¡¢»ú¶¥ºÐ¡¢ÊÖ»úµÈµÈ£¬¼´Ê¹ÊÇͬһÀàÏû·Ñµç×Ó²úÆ·Ëù²ÉÓõĴ¦ÀíоƬºÍ²Ù×÷ϵͳҲ²»Ïàͬ£¬Ò²´æÔÚ×Å¿ ......
1.2.1 javaÐéÄâ»ú(1)
¡¡javaÐéÄâ»úÊÇÈí¼þÄ£ÄâµÄ¼ÆËã»ú£¬¿ÉÒÔÔÚÈκδ¦ÀíÆ÷ÉÏ£¨ÎÞÂÛÊÇÔÚ¼ÆËã»úÖл¹ÊÇÔÚÆäËüµç×ÓÉ豸ÖУ©°²È«²¢ÇÒ¼æÈݵÄÖ´Ðб£´æÔÚ.classÎļþÖеÄ×Ö½ÚÂë¡£javaÐéÄâ»úµÄ"»úÆ÷Âë"±£´æÔÚ.classÎļþÖУ¬ÓÐʱҲ¿ÉÒÔ³Æ֮Ϊ×Ö½ÚÂëÎļþ¡£java³ÌÐòµÄ¿çƽ̨Ö÷ÒªÊÇÖ¸×Ö½ÚÂëÎļþ¿ÉÒÔÔÚÈκξßÓÐjavaÐéÄâ»úµÄ¼ÆËã»ú»òÕßµç×ÓÉ ......