JAVA¿ª·¢Õß×ȥµÄ20¸öÓ¢ÎÄÍøÕ¾
1.[http://www.javaalmanac.com] – Java¿ª·¢ÕßÄê¼øÒ»ÊéµÄÔÚÏß°æ±¾. ÒªÏë¿ìËٲ鵽ijÖÖJava¼¼ÇɵÄÓ÷¨¼°Ê¾Àý´úÂë, ÕâÊÇÒ»¸ö²»´íµÄÈ¥´¦.
2.[http://www.onjava.com] – O’ReillyµÄJavaÍøÕ¾. ÿÖܶ¼ÓÐÐÂÎÄÕÂ.
3.[http://java.sun.com] – ¹Ù·½µÄJava¿ª·¢ÕßÍøÕ¾ – ÿÖܶ¼ÓÐÐÂÎÄÕ·¢±í.
4.[http://www.developer.com/java] – ÓÉGamelan.com ά»¤µÄJava¼¼ÊõÎÄÕÂÍøÕ¾.
5.[http://www.java.net] – Sun¹«Ë¾Î¬»¤µÄÒ»¸öJavaÉçÇøÍøÕ¾.
6.[http://www.builder.com] – CnetµÄBuilder.comÍøÕ¾ – ËùÓеļ¼ÊõÎÄÕÂ, ÒÔJavaΪÖ÷.
7.[http://www.ibm.com/developerworks/java] – IBMµÄDeveloperworks¼¼ÊõÍøÕ¾; ÕâÊÇÆäÖеÄJava¼¼ÊõÖ÷Ò³.
8.[http://www.javaworld.com] – ×îÔçµÄÒ»¸öJavaÕ¾µã. ÿÖܸüÐÂJava¼¼ÊõÎÄÕÂ.
9.[http://www.devx.com/java] – DevXά»¤µÄÒ»¸öJava¼¼ÊõÎÄÕÂÍøÕ¾.
10.[http://www.fawcette.com/javapro] – JavaProÔÚÏßÔÓÖ¾ÍøÕ¾.
11.[http://www.sys-con.com/java] – Java Developers JournalµÄÔÚÏßÔÓÖ¾ÍøÕ¾.
12.[http://www.javadesktop.org] – λÓÚJava.netµÄÒ»¸öJava×ÀÃæ¼¼ÊõÉçÇøÍøÕ¾.
13.[http://www.theserverside.com] – ÕâÊÇÒ»¸öÌÖÂÛËùÓÐJava·þÎñÆ÷¶Ë¼¼ÊõµÄÍøÕ¾.
14.[http://www.jars.com] – ÌṩJavaÆÀÂÛ·þÎñ. °üÀ¨¸÷ÖÖframeworkºÍÓ¦ÓóÌÐò.
15.[http://www.jguru.com] – Ò»¸ö·Ç³£°ôµÄ²ÉÓÃQ&AÐÎʽµÄJava¼¼Êõ×ÊÔ´ÉçÇø.
16.[http://www.javaranch.com] – Ò»¸öÂÛ̳£¬µÃµ½JavaÎÊÌâ´ð°¸µÄµØ·½£¬³õѧÕߵĺÃÈ¥´¦¡£
17.[http://www.ibiblio.org/javafaq/javafaq.html] – comp.lang.javaµÄFAQÕ¾µã – ÊÕ¼¯ÁËÀ´×Ôcomp.lang.javaÐÂÎÅ×éµÄÎÊÌâºÍ´ð°¸µÄ·ÖÀàĿ¼.
18.[http://java.sun.com/docs/books/tutorial/] – À´×ÔSUN¹«Ë¾µÄ¹Ù·½JavaÖ¸ÄÏ – ¶ÔÓÚÁ˽⼸ºõËùÓеÄjava¼¼ÊõÌØÐԷdz£ÓаïÖú.
19.[http://www.javablogs.com] – »¥ÁªÍøÉÏ×î»îÔ¾µÄÒ»¸öJava BlogÍøÕ¾.
20.[http://java.about.com/] – À´×ÔAbout.comµÄJavaÐÂÎźͼ¼ÊõÎÄÕÂÍøÕ¾.
Ïà¹ØÎĵµ£º
JAVA×¢ÊÍ·½·¨¼°¸ñʽ
1¡¢µ¥ÐÐ(single-line)--¶Ì×¢ÊÍ£º//……
µ¥¶ÀÐÐ×¢ÊÍ£ºÔÚ´úÂëÖе¥ÆðÒ»ÐÐ×¢ÊÍ£¬ ×¢ÊÍǰ×îºÃÓÐÒ»ÐпÕÐУ¬²¢ÓëÆäºóµÄ´úÂë¾ßÓÐÒ»ÑùµÄËõ½ø²ã¼¶¡£Èç¹ûµ¥ÐÐÎÞ·¨Íê³É£¬ÔòÓ¦²ÉÓÿé×¢ÊÍ¡£
×¢Ê͸ñʽ£º/* ×¢ÊÍÄÚÈÝ */
ÐÐÍ·×¢ÊÍ£ºÔÚ´úÂëÐеĿªÍ·½øÐÐ×¢ÊÍ¡£Ö÷ҪΪÁËʹ¸ÃÐд ......
ÎÒÏÖÔÚÒѾ´óËÄÁË£¬Ñ§µÄÊÇÈí¼þרҵ£¬ÎÒ±ØÐë³ÐÈÏÎÒÃÇѧУµÄÈí¼þרҵºÜ²»ºÃ£¬ËùÒԴ󲿷ÖÒª¿¿×Ô¼º¡£
ÒÔǰ´ÓÀ´Ã»Ð´¹ý²©¿Í£¬Õâ´ÎÔÚÕâÀ↑²©¾ÍÊÇÏëͨ¹ýcsdn½áʶ¸ü¶àµÄѧϰJAVAµÄÅóÓÑ£¬ÎÒÉîÖª×Ô¼ºµÄJAVA¹¦µ×Éõdz£¬ËùÒÔÖ»ÓÐ×Î×β»¾ëµÄϰ£¬ºÍ²»ÑáÆä·³µÄ·¢ÎʲÅÄÜʹ×Ô¼ºÇ¿´ó¡£
×î½üÎÒÒ²´ÓÍøÉ ......
ת×Ô£ºhttp://blog.163.com/gordonkkk/blog/static/63425684200962795039630/
´ÓCSDNÉÏ¿´µ½Ò»ÆªÅúÆÀJavaÓïÑÔÖî¶àÎÊÌâµÄ·ÒëÎÄÕ£¬ÔÎÄ×÷ÕßÊÇMario Fusco¡£ËûÖ¸³öÁËJavaÓïÑÔÂäºóÓÚʱ´ú£¬»ýÖØÄÑ·µµÄ10¸öÎÊÌâ¡£¿´¹ýÖ®ºóÒýÆðÁËÎÒµÄһЩÁªÏë¡£ÏÂÃæÁгöËûËù˵µÄ10´óÎÊÌâ¡£½Û»ÆÉ«×ÖÌåÊÇÎÒÒ»µãµã²»³ÉÊìµÄ˼¿¼¡£
1¡¢È±ÉÙ±Õ°ü£¨clos ......
×Ô¶¨ÒåµÄKeyÀàÐèÒªÖØÔØequals, hashCodeº¯Êý¡£¡£
package com.albert.test;
import java.util.Vector;
import java.util.HashMap;
/**
* @author tough_guy
*
*/
//¶ÔÓÚ×Ô¶¨ÒåµÄkey£¬ ÐèÒªÖØÔØhashCodeº¯ÊýºÍequalsº¯Êý
class IPSegment
{
long ip_s;
long ip_e;
int p;
IPSegment Reset(long f ......