Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

һЩÄãÐèÒªÖªµÀµÄ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ÈëÃÅ

 Javaѧϰ´ÓÈëÃŵ½¾«Í¨ 
Ò»¡¢ JDK (Java Development Kit) 
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......

JavaÓëC#Ë­ÊÇÓ¢ÐÛ?


¡¡¡¡»¥ÁªÍøµÄáÈÆð£¬Ê¹µÃPC´Ó²úÒµÖÐÐÄÏò±ßÔµ¹ý¶É£¬¶øÀú¾­20ÓàÄêµÄ·¢Õ¹£¬PCÊг¡Ò²Ç÷ÓÚ±¥ºÍ£¬´½Íö³Ýº®£¬Õâ½Ð¿¿PC³Ô·¹µÄ΢ÈíÈçºÎ²»¼±£¿ÎüÈ¡Á˵±Ä꿪·¢ä¯ÀÀÆ÷Èí¼þµÄ½Ìѵ£¬2000Äê6Ô£¬Î¢ÈíÆô¶¯.Net¼Æ»®£¬½ø¾üÍøÂç·þÎñÊг¡£¬±È¶û·¸Ç´Ä×ÔÐŵسƣº"ÊÀ½çÉÏËùÓÐÒ»Çж¼½«°üÀ¨ÔÚ»¥ÁªÍø·þÎñÖС£" 
¡¡¡¡.NETµÄ˼ÏëÆäʵÊÇÀ´Ô ......

FlexÖÐRemoteObjectÓëjavaµÄ½»»¥ÊµÀý½²½â

 Õ⼸ÌìÒ»Ö±ÔÚÑо¿FlexÖÐRemoteObjectÓëjavaµÄ½»»¥ÎÊÌ⣬¿ÉÒ»Ö±²»³É¹¦£¬½ñÌìÖÕÓڳɹ¦ÁË£¬µ«ÊÇ»¹ÓÐһЩÒÉ»ó£¬Ó¦¸Ã¼ÌÐøŬÁ¦¡£
ÏÂÃæÊÇÎҵľ­¹ýºÍÅöµ½µÄ´íÎó£º
£¨1£©ÏÂÔغͰ²×°lcds.
ÔÚ°²×°Ä¿Â¼Ï»áÓÐÈçÏÂÎļþ£¬ÆäÖÐlcds.war¿ÉÒÔ×÷ΪÎÒÃÇ¿ª·¢FlexÓëjava½»»¥µÄÄ£°æ£¬°ÑÕâ¸öÎļþ¿¼µ½ÄãtomcatµÄwebappsÏ£¨µ±È»ÕâÖÖÇé¿öÊÇÄ ......

Java»ù´¡ÖªÊ¶——JNIÈëÞ­µä

JNIÊÇJava Native InterfaceµÄËõд£¬Í¨¹ýʹÓÃnative·½·¨£¬Java¿ÉÒÔµ÷Óñ¾µØC/C++×Ó³ÌÐò¡£ÉùÃ÷Ò»¸ö±¾µØ×Ó³ÌÐòµÄ·½·¨ÊÇ£ºÔÚ·½·¨ÃûÇ°Ìí¼ÓnativeÐÞÊΣ¬Èç
public native void myfun();
µ÷ÓøÃ×Ó³ÌÐòµÄ·½·¨Îª£º
static{
    System.loadLibrary("myfun");
}
ÔÚWindowsÉÏ£¬ÉÏÃæµÄmyfun¼´Ö¸°üº¬ÓÃC/C++дµÄmy ......

ÀûÓÃJFreeChartÉú³É¼òµ¥Öù״ͼ(Java)

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 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ