JAVAÖг£ÓÃÀàµÄ³£Ó÷½·¨
³£ÓÃÀàµÄ³£Ó÷½·¨
Ò»¡¢java.lang.ObjectÀà
1¡¢clone()·½·¨
´´½¨²¢·µ»Ø´Ë¶ÔÏóµÄÒ»¸ö¸±±¾¡£Òª½øÐГ ¿Ë¡” µÄ¶ÔÏóËùÊôµÄÀà±ØÐëʵÏÖjava.lang. Cloneable½Ó¿Ú¡£
2¡¢equals(Object obj)·½·¨
Ø ¹¦ÄÜ£º±È½ÏÒýÓÃÀàÐÍÊý¾ÝµÄµÈ¼ÛÐÔ¡£
Ø µÈ¼Û±ê×¼£ºÒýÓÃÀàÐͱȽÏÒýÓ㬻ù±¾ÀàÐͱȽÏÖµ¡£
Ø ´æÔÚÌØÀý£º¶ÔFile¡¢String¡¢Date¼°·â×°ÀàµÈÀàÐÍÀ´Ëµ£¬ÊDZȽÏÀàÐͼ°¶ÔÏóµÄÄÚÈݶø²»¿¼ÂÇÒýÓõÄÊÇ·ñΪͬһʵÀý¡£
3¡¢finalize()·½·¨
µ±À¬»ø»ØÊÕÆ÷È·¶¨²»´æÔڶԸöÔÏóµÄ¸ü¶àÒýÓÃʱ£¬ÓɶÔÏóµÄÀ¬»ø»ØÊÕÆ÷µ÷Óô˷½·¨¡£
4¡¢hashCode()·½·¨
·µ»Ø¸Ã¶ÔÏóµÄ¹þÏ£ÂëÖµ¡£
5¡¢notify()·½·¨
»½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄµ¥¸öÏ̡߳£
6¡¢notifyAll()·½·¨
»½ÐÑÔڴ˶ÔÏó¼àÊÓÆ÷ÉϵȴýµÄËùÓÐÏ̡߳£
7¡¢toString()·½·¨
·µ»Ø¸Ã¶ÔÏóµÄ×Ö·û´®±íʾ¡£ÔÚ½øÐÐStringÓëÆäËüÀàÐÍÊý¾ÝµÄÁ¬½Ó²Ù×÷ʱ£¬×Ô¶¯µ÷ÓÃtoString()·½·¨¡£¿ÉÒÔ¸ù¾ÝÐèÒªÖØдtoString()·½·¨¡£
8¡¢wait()·½·¨
ÔÚÆäËûÏ̵߳÷Óô˶ÔÏóµÄ notify() ·½·¨»ò notifyAll() ·½·¨Ç°£¬µ¼Öµ±Ç°Ï̵߳ȴý¡£
¶þ¡¢ ×Ö·û´®Ïà¹ØÀà
l StringÀà
charAt(int index) ·µ»ØÖ¸¶¨Ë÷Òý´¦µÄ char Öµ¡£
compareTo(String anotherString) °´×Öµä˳Ðò±È½ÏÁ½¸ö×Ö·û´®¡£
compareToIgnoreCase(String str) °´×Öµä˳Ðò±È½ÏÁ½¸ö×Ö·û´®£¬²»¿¼ÂÇ´óСд¡£
concat(String str) ½«Ö¸¶¨×Ö·û´®Á¬½Óµ½´Ë×Ö·û´®µÄ½áβ¡£
endsWith(String suffix) ²âÊÔ´Ë×Ö·û´®ÊÇ·ñÒÔÖ¸¶¨µÄºó׺½áÊø¡£
equals(Object anObject) ½«´Ë×Ö·û´®ÓëÖ¸¶¨µÄ¶ÔÏó±È½Ï¡£
equalsIgnoreCase(String anotherString) ½«´Ë String ÓëÁíÒ»¸ö String ±È½Ï£¬²»¿¼ÂÇ´óСд¡£
indexOf(int ch) ·µ»ØÖ¸¶¨×Ö·ûÔÚ´Ë×Ö·û´®ÖеÚÒ»´Î³öÏÖ´¦µÄË÷Òý¡£
indexOf(String str) ·µ»ØµÚÒ»´Î³öÏÖµÄÖ¸¶¨×Ó×Ö·û´®ÔÚ´Ë×Ö·û´®ÖеÄË÷Òý¡£
lastIndexOf(int ch) ·µ»ØÖ¸¶¨×Ö·ûÔÚ´Ë×Ö·û´®ÖÐ×îºóÒ»´Î³öÏÖ´¦µÄË÷Òý¡£
length() ·µ»Ø´Ë×Ö·û´®µÄ³¤¶È¡£
replace(char oldChar, char newChar)
·µ»ØÒ»¸öеÄ×Ö·û´®£¬ËüÊÇͨ¹ýÓà newChar Ìæ»»´Ë×Ö·û´®ÖгöÏÖµÄËùÓÐ oldChar µÃµ½µÄ¡£
split(String regex) ¸ù¾Ý¸ø¶¨ÕýÔò±í´ïʽµÄÆ¥Åä²ð·Ö´Ë×Ö·û´®¡£
startsWith(Strin
Ïà¹ØÎĵµ£º
javaÐéÄâ»ú±àÒë»úÖÆ£¬¾²Ì¬³£Á¿ÔÚ±àÒëºó£¬³ÉΪÁ˳£Á¿£¬¶ø²»ÊÇÔÏȵĴúÂ룬ÀýÈ磺
ÓÐÒ»¸öÀà
Contant.java
ÀïÃæÓÐһЩ¾²Ì¬³£Á¿
public static final String GONGDAN = "gongdan@ceopen.cn";
public static final String ICT = "ictnetwork@ceopen.cn";
È»ºóÔÚ³ÌÐòÖÐÓÐʹÓÃÕâЩ³£Á¿£¬Contant.GONGDAN
ÔÚÄÇЩ³ÌÐò±àÒëºóµÄ ......
ÔÌûµØÖ·£ºhttp://www.ibm.com/developerworks/cn/java/j-lo-jeeflex/?S_TACT=105AGX52&S_CMP=tec-csdn
´«Í³µÄ Java EE Ó¦ÓóÌÐòͨ³£Ê¹ÓÃijÖÖ MVC ¿ò¼Ü£¨ÀýÈ磬Struts£©×÷Ϊǰ¶ËÓû§½çÃ棬Ëæ×Å Flex µÄÐËÆ𣬻ùÓÚ RIA µÄ¿Í»§¶ËÄܹ»¸øÓû§´øÀ´¸ü¿áµÄ½çÃ棬¸ü¶ÌµÄÏìӦʱ¼ä£¬ÒÔ¼°¸ü½Ó½üÓÚ×ÀÃæÓ¦ÓóÌÐòµÄÌåÑé¡£±¾ÎĽ«½²Ê ......
JavaÔ´ÓÚ1991ÄêµÄÒ»¸ö»ú¶¥ºÐÏîÄ¿£¬²¢ÓÉSunÔÚ1995Äê·¢²¼ÁË1.0°æ±¾£¬µ½½ñÌìËãÏÂÀ´£¬Ò²ÒªÓÐ20ÄêµÄʱ¼äÁË¡£JDK1.3-->JDK1.4-->JDK5ÕâÁ½´Î°æ±¾Éý¼¶£¬Ê¹µÃjavaÓïÑԵõ½Á˼«´óµÄÍêÉÆ£¬µ«´ËºóµÄJDK6ºÍÉÐδÕýʽ·¢²¼µÄJDK7£¬²¢Î´¸øÈËÌ«¶àµÄ¾ªÏ²£¬ÖÁÉÙÎÒÊÇÕâÖָоõ¡£Æäʵ´Ó×î½ü¼¸ÄêJVM¼æÈÝÓïÑԵİٻ¨Æë·Å¾Í¿ÉÒÔ¿´³öÀ´¶ËÄߣºJAVAÔ ......
JAVA EXCEL API¼ò½é
Java ExcelÊÇÒ»¿ª·ÅÔ´ÂëÏîÄ¿£¬Í¨¹ýËüJava¿ª·¢ÈËÔ±¿ÉÒÔ¶ÁÈ¡ExcelÎļþµÄÄÚÈÝ¡¢´´½¨ÐµÄExcelÎļþ¡¢¸üÐÂÒѾ´æÔÚµÄExcelÎļþ¡£Ê¹ÓøÃAPI·ÇWindows²Ù×÷ϵͳҲ¿ÉÒÔͨ¹ý´¿JavaÓ¦ÓÃÀ´´¦ÀíExcelÊý¾Ý±í¡£ÒòΪÊÇʹÓÃJava±àдµÄ£¬ËùÒÔÎÒÃÇÔÚWebÓ¦ÓÃÖпÉÒÔͨ¹ýJSP¡¢ServletÀ´µ÷ÓÃAPIʵÏÖ¶ÔExcelÊý¾Ý±íµÄ·ÃÎÊ¡£
ÏÖÔ ......
ÔÚJavaÓïÑÔÖУ¬equals()ºÍhashCode()Á½¸öº¯ÊýµÄʹÓÃÊǽôÃÜÅäºÏµÄ£¬ÄãÒªÊÇ×Ô¼ºÉè¼ÆÆäÖÐÒ»¸ö£¬¾ÍÒªÉè¼ÆÁíÍâÒ»¸ö¡£ÔÚ¶àÊýÇé¿ö
Ï£¬ÕâÁ½¸öº¯ÊýÊDz»Óÿ¼Âǵģ¬Ö±½ÓʹÓÃËüÃǵÄĬÈÏÉè¼Æ¾Í¿ÉÒÔÁË¡£µ«ÊÇÔÚһЩÇé¿öÏ£¬ÕâÁ½¸öº¯Êý×îºÃÊÇ×Ô¼ºÉè¼Æ£¬²ÅÄÜÈ·±£Õû¸ö³ÌÐòµÄÕý³£ÔËÐС£×î³£¼ûµÄÊǵ±
Ò»¸ö¶ÔÏó±»¼ÓÈëÊÕ¼¯¶ÔÏó£¨collection
ob ......