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

javaÄÚ´æ¹ÜÀí¼°ÄÚ´æй¶

    ±àÕß°´£ºJavaÄÚ´æй©ÊÇÿ¸öJava³ÌÐòÔ±¶¼»áÓöµ½µÄÎÊÌ⣬³ÌÐòÔÚ±¾µØÔËÐÐÒ»ÇÐÕý³££¬¿ÉÊDz¼Êðµ½Ô¶¶Ë¾Í»á³öÏÖÄÚ´æÎÞÏÞÖƵÄÔö³¤£¬×îºóϵͳ̱»¾£¬ÄÇôÈç
ºÎ×î¿ì×îºÃµÄ¼ì²â³ÌÐòµÄÎȶ¨ÐÔ£¬·Àֹϵͳ±ÀÅÌ£¬×÷ÕßÓÃ×ÔÒѵÄÇ×Éí¾­ÀúÓë¸÷λÍøÓÑ·ÖÏí½â¾öÕâЩÎÊÌâµÄ°ì·¨¡£
   
×÷ΪInternet×îÁ÷Ðеıà³ÌÓïÑÔÖ®Ò»,JavaÏÖÕý·Ç³£Á÷ÐС£ÎÒÃǵÄÍøÂçÓ¦ÓóÌÐò¾ÍÖ÷Òª²ÉÓÃJavaÓïÑÔ¿ª·¢£¬´óÌåÉÏ·ÖΪ¿Í»§¶Ë¡¢·þÎñÆ÷ºÍÊý¾Ý¿âÈý
¸ö²ã´Î¡£ÔÚ½øÈë²âÊÔ¹ý³ÌÖУ¬ÎÒÃÇ·¢ÏÖÓÐÒ»¸ö³ÌÐòÄ£¿éϵͳÄÚ´æºÍCPU×ÊÔ´ÏûºÄ¼±¾çÔö¼Ó£¬³ÖÐøÔö³¤µ½³öÏÖ
java.lang.OutOfMemoryErrorΪֹ¡£¾­¹ý·ÖÎöJavaÄÚ´æй©ÊÇÆÆ»µÏµÍ³µÄÖ÷ÒªÒòËØ¡£ÕâÀïÓë´ó¼Ò·ÖÏíÎÒÃÇÔÚ¿ª·¢¹ý³ÌÖÐÓöµ½µÄ
JavaÄÚ´æй©µÄ¼ì²âºÍ´¦Àí½â¾ö¹ý³Ì.
    Ò». JavaÊÇÈçºÎ¹ÜÀíÄÚ´æ

   

ΪÁËÅжÏJavaÖÐÊÇ·ñÓÐÄÚ´æй¶£¬ÎÒÃÇÊ×ÏȱØÐëÁ˽âJavaÊÇÈçºÎ¹ÜÀíÄÚ´æµÄ¡£JavaµÄÄÚ´æ¹ÜÀí¾ÍÊǶÔÏóµÄ·ÖÅäºÍÊÍ·ÅÎÊÌâ¡£ÔÚJavaÖУ¬ÄÚ´æµÄ·ÖÅä
ÊÇÓɳÌÐòÍê³ÉµÄ£¬¶øÄÚ´æµÄÊÍ·ÅÊÇÓÉÀ¬»øÊÕ¼¯Æ÷(Garbage
Collection£¬GC)Íê³ÉµÄ£¬³ÌÐòÔ±²»ÐèҪͨ¹ýµ÷Óú¯ÊýÀ´ÊÍ·ÅÄڴ棬µ«ËüÖ»ÄÜ»ØÊÕÎÞÓò¢ÇÒ²»ÔÙ±»ÆäËü¶ÔÏóÒýÓõÄÄÇЩ¶ÔÏóËùÕ¼ÓõĿռ䡣
   

JavaµÄÄÚ´æÀ¬»ø»ØÊÕ»úÖÆÊÇ´Ó³ÌÐòµÄÖ÷ÒªÔËÐжÔÏó¿ªÊ¼¼ì²éÒýÓÃÁ´£¬µ±±éÀúÒ»±éºó·¢ÏÖûÓб»ÒýÓõĹÂÁ¢¶ÔÏó¾Í×÷ΪÀ¬»ø»ØÊÕ¡£GCΪÁËÄܹ»ÕýÈ·ÊͷŶÔÏ󣬱Ø
Ðë¼à¿Øÿһ¸ö¶ÔÏóµÄÔËÐÐ״̬£¬°üÀ¨¶ÔÏóµÄÉêÇë¡¢ÒýÓᢱ»ÒýÓᢸ³ÖµµÈ£¬GC¶¼ÐèÒª½øÐмà¿Ø¡£¼àÊÓ¶ÔÏó״̬ÊÇΪÁ˸ü¼Ó׼ȷµØ¡¢¼°Ê±µØÊͷŶÔÏ󣬶øÊͷŶÔÏóµÄ
¸ù±¾Ô­Ôò¾ÍÊǸöÔÏó²»ÔÙ±»ÒýÓá£
   
ÔÚJavaÖУ¬ÕâЩÎÞÓõĶÔÏó¶¼ÓÉGC¸ºÔð»ØÊÕ£¬Òò´Ë³ÌÐòÔ±²»ÐèÒª¿¼ÂÇÕⲿ·ÖµÄÄÚ´æй¶¡£ËäÈ»£¬ÎÒÃÇÓм¸¸öº¯Êý¿ÉÒÔ·ÃÎÊGC£¬ÀýÈçÔËÐÐGCµÄº¯Êý
System.gc()£¬µ«ÊǸù¾ÝJavaÓïÑԹ淶¶¨Ò壬¸Ãº¯Êý²»±£Ö¤JVMµÄÀ¬»øÊÕ¼¯Æ÷Ò»¶¨»áÖ´ÐС£ÒòΪ²»Í¬µÄJVMʵÏÖÕß¿ÉÄÜʹÓò»Í¬µÄËã·¨¹ÜÀí
GC¡£Í¨³£GCµÄÏ̵߳ÄÓÅÏȼ¶±ð½ÏµÍ¡£JVMµ÷ÓÃGCµÄ²ßÂÔÒ²ÓкܶàÖÖ£¬ÓеÄÊÇÄÚ´æʹÓõ½´ïÒ»¶¨³Ì¶Èʱ£¬GC²Å¿ªÊ¼¹¤×÷£¬Ò²Óж¨Ê±Ö´Ðеģ¬ÓеÄÊÇƽ»ºÖ´ÐÐ
GC£¬ÓеÄÊÇÖжÏʽִÐÐGC¡£µ«Í¨³£À´Ëµ£¬ÎÒÃDz»ÐèÒª¹ØÐÄÕâЩ¡£   
Ò». ʲôÊÇJavaÖеÄÄÚ´æй¶

   
µ¼ÖÂÄÚ´æй©Ö÷ÒªµÄÔ­ÒòÊÇ£¬ÏÈÇ°ÉêÇëÁËÄÚ´æ¿Õ¼ä¶øÍü¼ÇÁËÊÍ·Å¡£Èç¹û³ÌÐòÖдæÔÚ¶ÔÎÞÓöÔÏóµÄÒýÓã¬ÄÇôÕâЩ¶


Ïà¹ØÎĵµ£º

×îС¶þ³Ë·¨JAVA´úÂë

ÔÚÍøÉÏÕÒµ½µÄ´úÂëÊÇ´íµÄ£¬×Ô¼ºÐ´ÁËÒ»¸ö
×îС¶þ³Ë·¨µÄ´úÂ룬¶þ¸ö¹¹Ôì·½·¨£¬Ò»¸öÊDz»´øȨµÄ£¬Ò»¸öÊÇ´øȨµÄ
/**
* ×îС¶þ³Ë·¨¼ÆËãÀà
*
* @author Administrator
*
*/
public class LeastSquareMethod {
private double[] x;
private double[] y;
private double[] weight;
private int m;
private do ......

JAVA(¶þ)


Java   ÔÓ̸£¨Èý£© 
        ÕâÒѾ­±ÊÕßдµÄµÚÈýƪJavaÔÓ¼ÇÁË£¬ÇìÐÒÇ°Á½ÆªÒ»Ö±µÃµ½ÂÛ̳ÅóÓÑÃǵÄÖ§³Ö¹ÄÀø£¬»¹Íû´ó¼Ò¼ÌÐøÖ¸Õý²»×ãÖ®´¦¡£±ÊÕßÒ²Ò»Ö±¿ÊÍûͨ¹ýÕâÑù·½Ê½ÇåÐѵÄ×ÔÉó£¬À´Ñ°ÕÒ×Ô¼º¼¼ÊõÉϵIJ»×ãÖ®´¦£¬Ï£ÍûºÍ¹²Í¬°®ºÃJavaµÄͬÈÊÃÇÒ»ÆðÌá¸ß¡£ 
 & ......

JAVA(Îå)


JavaÔÓ̸£¨Ê®Ò»£©??ORM 
        ÕâÊÇ×îºóһƪJavaÔÓ̸ÁË£¬ÒÔORM¿ò¼ÜµÄ̸ÂÛÊÕ⣬ҲËãÊÇ°ÑJ2eeµÄ×îºóÒ»·½Ãæ¸øº­¸Çµ½ÁË£¬Ö®ËùÒÔÕâôÍí²Å×ܽá³öORMÕâ·½Ã棬һÊDZÊÕßÕâÁ½ÖܱȽÏ棬ÁíÒ»·½ÃæÒ²ÏëÉÆʼÉÆÖÕ£¬×ÐϸµÄÏÈ×Ô¼ººÃºÃÑо¿Ò»ÏÂORM¿ò¼Ü¼¼Êõ£¬²»Ïë²ÝÂʵķóÑÜÁËÊ¡£ &n ......

Java Excel API ʹÓ÷½·¨


    ʹÓÃWindows²Ù×÷ϵͳµÄÅóÓѶÔExcel£¨µç×Ó±í¸ñ£©Ò»¶¨²»»áÄ°Éú£¬µ«ÊÇҪʹÓÃJavaÓïÑÔÀ´²Ù×ÝExcelÎļþ²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊ¡£ÔÚWebÓ¦ÓÃÈÕÒæÊ¢ÐеĽñÌ죬ͨ¹ýWebÀ´²Ù×÷ExcelÎļþµÄÐèÇóÔ½À´Ô½Ç¿ÁÒ£¬Ä¿Ç°½ÏΪÁ÷ÐеIJÙ×÷ÊÇÔÚJSP»òServlet Öд´½¨Ò»¸öCSV £¨comma separated values£©Îļþ£¬²¢½«Õâ¸öÎļþÒÔMIME£¬te ......

java byteÓëchar»¥×ªÔ­Àí ת

Ò»¡¢×Ö½ÚºÍunicode
JavaÄÚºËÊÇunicodeµÄ£¬¾ÍÁ¬classÎļþÒ²ÊÇ£¬µ«ÊǺܶàýÌ壬°üÀ¨Îļþ/Á÷µÄ±£´æ·½Ê½ÊÇʹÓÃ×Ö½ÚÁ÷µÄ¡£Òò´ËJavaÒª¶ÔÕâЩ×Ö½ÚÁ÷¾­ÐÐת»¯¡£ charÊÇunicodeµÄ£¬¶øbyteÊÇ×Ö½Ú¡£JavaÖÐ byte/char»¥×ªµÄº¯ÊýÔÚsun.ioµÄ°üÖмäÓС£ÆäÖÐByteToCharConverterÀàÊÇÖе÷¶È£¬¿ÉÒÔÓÃÀ´¸æËßÄ㣬ÄãÓÃµÄ convertor¡£ÆäÖÐÁ½¸öºÜ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ