һЩÄãÐèÒªÖªµÀµÄJava±à³Ì´úÂë¹æ·¶
Ê×ÏÈ£¬Ç¿ÁÒÍƼöÄãÏȲο¼Sun¹Ù·½µÄJava´úÂë/±à³Ì¹æ·¶£º
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
Äã¿ÉÒÔ´òÆÆÒÔÉϵÄÈÎÒ»¹æÔò£¬²»¹ýÒ»¶¨ÒªÓиöºÃÀíÓÉ£¬²¢ÇҼǼÏÂÀ´¡£
ÓÀÔ¶£¬ÓÀÔ¶£¬ÓÀÔ¶²»ÒªÔÚûÓмǼ¶ÑÕ»¸ú×ÙÐÅÏ¢£¨stack trace£©»òÊÇÖØÐÂÅ׳öÒì³£µÄÇé¿öϲ¶»ñÒì³££¬Ë׳Ɠ³ÔµôÒì³£”¡£ÓÃlog.debug()Ò²²»´í£¬Ö»Òª±ð¶ªÊ§¶ÑÕ»¸ú×ÙÐÅÏ¢¾ÍÐС£
ÔÔòÉÏÇëʹÓûùÓÚsetter·½·¨µÄÒÀÀµ×¢ÈëÀ´½«ÀàÓëÀà½âñµ±È»£¬Èç¹û½ôñîºÏ¿ÉÒÔÁîÈËÂúÒâµÄ»°¾ÍÁíµ±±ðÂÛ£©¡£
ÈôûÓÐ×ã¹»ÀíÓÉ£¬²»Òª°ÑʵÀý»òÀà±äÁ¿ÉùÃ÷Ϊ¹«ÓС£Í¨³££¬ÊµÀýµÄ˽ÓбäÁ¿Èç¹û²»ÐèÒª±©Â¶¸øÍⲿµÄ»°£¬ÔòÎÞÐèÉèÖÃsetterºÍgetter·½·¨¡£
±ÜÃâËõд¡£ÎªÈËÊìÖªµÄËõдÔò¿ÉÒÔ£¬ÀýÈçDAO¡£
½¨ÒéÔ¼¶¨£ºÐèÒª·µ»ØCollections»òÕßÊý×éµÄ·½·¨²»Ó¦¸Ã·µ»Ønull¡£Ó¦¸Ã·µ»Ø¿ÕµÄÈÝÆ÷»òÊý×飬¶ø²»ÊÇnull¡£
½ûֹʹÓÓħ·¨Êý×Ö”£¬¼´½ûÖ¹ÔÚ´úÂëÖÐÖ±½ÓʹÓÃδÉùÃ÷µÄ³£Á¿Êý×Ö¡£
Éè¼ÆÒ»×é³£Á¿Ê±ÓÅÏÈ¿¼ÂÇʹÓÃenumÀàÐÍö¾Ù£¬Èç¹ûÄãµÄJDK°æ±¾¸ßÓÚ5.0µÄ»°¡£
Àà±»Éè¼ÆÓÃÀ´¹éÄÉÒ»ÖÖ¶ÔÏ󣬼´°ÑÒ»ÖÖ¶ÔÏóµÄÊôÐÔºÍÐÐΪ¹éÖÃÔÚÒ»Æð£¬ÐγÉÒ»¸ö“ÀàÐÍ”¡£°üÔòÊÇ°ÑÏà¹ØµÄÀ༯ÖÐÔÚÒ»ÆðµÄÈÝÆ÷£¬ËùÒÔ¿ÉÒÔÀûÓÓͬ°ü¼¶·ÃÎʔȨÏÞ£¨¼´²»ÉùÃ÷Ϊpublic/protected/private£©À´½øÒ»²½ÍêÉÆϵͳģ¿éµÄ·â×°ÐÔ£¬ÀàËÆC++ÖеēÓÑÔª”¡£
ÔÚϵͳÉè¼ÆÖУ¬²»¿É±ÜÃâµÄ»áÉæ¼°µ½´´½¨¹¤¾ßÀàÐÍ£¬È磺StringUtils, DateTools … ÕâЩ¹¤¾ßÀàÐ͵ÄÌصãÊÇ£º¾²Ì¬¶ø²»ÐèÒª±»ÊµÀý»¯£¬Òò´Ë½¨Ò齫´ËÀàÐÍÉùÃ÷Ϊ³éÏó£¨abstract£©¡£
ÒÔÃæÏò¶ÔÏóµÄ½Ç¶ÈÀ´¿´£¬½á¹¹»¯µÄ³ÌÐò¶¼ÊǾ²Ì¬£¨static£©µÄ£¬´óÁ¿Ê¹Óþ²Ì¬ÀàÐÍÎÞÒɲ»ÊÇÃæÏò¶ÔÏóµÄ˼·¡£¾²Ì¬ÓòÊÇÎÞ·¨ÎªÊµÀý±£³Ö״̬µÄ£¬Í¬Ê±£¬ÔÚ¶àÏß³ÌÇé¿öÏ£¬ÐèÒª¿¼ÂǾ²Ì¬ÀàÐÍÔì³ÉÏß³ÌÖØÈëºÍÄڴ治ͬ²½µÄÎÊÌâ¡£É÷Óþ²Ì¬£¨static£©¡£
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
¡¡¡¡»¥ÁªÍøµÄáÈÆð£¬Ê¹µÃPC´Ó²úÒµÖÐÐÄÏò±ßÔµ¹ý¶É£¬¶øÀú¾20ÓàÄêµÄ·¢Õ¹£¬PCÊг¡Ò²Ç÷ÓÚ±¥ºÍ£¬´½Íö³Ýº®£¬Õâ½Ð¿¿PC³Ô·¹µÄ΢ÈíÈçºÎ²»¼±£¿ÎüÈ¡Á˵±Ä꿪·¢ä¯ÀÀÆ÷Èí¼þµÄ½Ìѵ£¬2000Äê6Ô£¬Î¢ÈíÆô¶¯.Net¼Æ»®£¬½ø¾üÍøÂç·þÎñÊг¡£¬±È¶û·¸Ç´Ä×ÔÐŵسƣº"ÊÀ½çÉÏËùÓÐÒ»Çж¼½«°üÀ¨ÔÚ»¥ÁªÍø·þÎñÖС£"
¡¡¡¡.NETµÄ˼ÏëÆäʵÊÇÀ´Ô ......
Õ⼸ÌìÒ»Ö±ÔÚÑо¿FlexÖÐRemoteObjectÓëjavaµÄ½»»¥ÎÊÌ⣬¿ÉÒ»Ö±²»³É¹¦£¬½ñÌìÖÕÓڳɹ¦ÁË£¬µ«ÊÇ»¹ÓÐһЩÒÉ»ó£¬Ó¦¸Ã¼ÌÐøŬÁ¦¡£
ÏÂÃæÊÇÎҵľ¹ýºÍÅöµ½µÄ´íÎó£º
£¨1£©ÏÂÔغͰ²×°lcds.
ÔÚ°²×°Ä¿Â¼Ï»áÓÐÈçÏÂÎļþ£¬ÆäÖÐlcds.war¿ÉÒÔ×÷ΪÎÒÃÇ¿ª·¢FlexÓëjava½»»¥µÄÄ£°æ£¬°ÑÕâ¸öÎļþ¿¼µ½ÄãtomcatµÄwebappsÏ£¨µ±È»ÕâÖÖÇé¿öÊÇÄ ......
JNIÊÇJava Native InterfaceµÄËõд£¬Í¨¹ýʹÓÃnative·½·¨£¬Java¿ÉÒÔµ÷Óñ¾µØC/C++×Ó³ÌÐò¡£ÉùÃ÷Ò»¸ö±¾µØ×Ó³ÌÐòµÄ·½·¨ÊÇ£ºÔÚ·½·¨ÃûÇ°Ìí¼ÓnativeÐÞÊΣ¬Èç
public native void myfun();
µ÷ÓøÃ×Ó³ÌÐòµÄ·½·¨Îª£º
static{
System.loadLibrary("myfun");
}
ÔÚWindowsÉÏ£¬ÉÏÃæµÄmyfun¼´Ö¸°üº¬ÓÃC/C++дµÄmy ......
package barchartdemo1;
import java.awt.Font;
import java.io.FileOutputStream;
import java.io.IOException;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.CategoryAxis;
import org.jfree.chart.axis.Numbe ......