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

java½ðÈÚÓëÊýѧ

 
1¡¢commons-math/commons-lang-math
ÒÔÉÏÁ½¸ö°üÊÇapacheϵģ¬Ç°Õ߱ȺóÕߵŦÄÜÇ¿´ó£¬ºóÕßÓеŦÄÜÇ°¶¼ÓУ¬ºóÕßÖ÷Òª½â¾öƽʱ³ÌÐòÖеÄһЩ»ù±¾µÄÊýѧ¼ÆË㣬Ö÷ÒªÊÇ·¶Î§Åжϣ¨*Range£©,Ëæ»úÊýÉú³É£¨JVMRandom,RandomUtils£©£¬·ÖÊý´¦Àí£¨Fraction£©£¬Êý×Öת»¯¡¢´óСÅжϣ¨NumberUtils£©µÈ¡£Ç°Õß¿ÉÒÔ´¦Àí¸ü¸´ÔÓµÄÊý¾Ý·ÖÎö£¨org.apache.commons.math.analysis£©¡¢¸´Êý£¨org.apache.commons.math.complex£©¡¢·Ö²¼Ê½´¦Àí£¨org.apache.commons.math.distribution£©¡¢Êý¾ÝÔ¤²â¹À¼Æ£¨org.apache.commons.math.estimation£©¡¢·ÖÊý¡¢ÒÅ´«Ñ§(org.apache.commons.math.genetics)¡¢¼¸ºÎͼÐÎ(org.apache.commons.math.geometry)¡¢ÏßÐÔ´úÊý(org.apache.commons.math.linear)¡¢ÓÅ»¯£¨org.apache.commons.math.optimization£©¡¢Í³¼Æ£¨org.apache.commons.math.stat£©£¬´«»»(org.apache.commons.math.transform)¡¢»¹ÓÐһЩ³£Óù¤¾ßÀࣨorg.apache.commons.math.util£©¡£
Àý×Ó£ºÇóÁ½Ö±ÏߵĽ»µã£¬µÚÒ»ÌõÁ½¸ö¶Ëµã·Ö±ðΪ(0,0)¡¢(1,1)£¬ÁíÒ»ÌõÁ½¸ö¶Ëµã·Ö±ð(1,0)¡¢(0,1)¡£
˼·£ºÔÙÌõÖ±ÏߵĽ»µã£¬Êµ¼Ê¾ÍÊÇÒ»¸ö¶þÔªÒ»´Î·½³ÌµÄ½â¡£·½³ÌµÄ½âʵ¼Ê¿Éת»¯ÎªÏßÐÔ´úÊýÖеľØÕó¡£Èç3x+y=4ºÍx+2y=3Õâ¸ö¶þÔªÒ»´Î·½³Ì¡£×ªÎª¾ØÕóΪ£º
ÏÖÔھͿÉÒÔÓÃÉÏÃæ°üorg.apache.commons.math.geometryµÄÀàRealMatrix¼ÆËã¡£
´úÂ룺
double[][] coefficientsData = { { 3, 1 }, { 1, 2 } };
RealMatrix coefficients = new RealMatrixImpl(coefficientsData);
double[] constants = { 4, 3 };
double[] solution = coefficients.solve(constants);
System.out.println("ËüÃǵĽ»µãÊÇ£ºx=" + solution[0] + ";y=" + solution[1]);
×ܽ᣺Èç¹ûÒªÓõ½ÏàÓ¦¹¦Äܵģ¨±ÈÈç·½²îvarianceÊÇÔÚͳ¼Æstat°üÀ£¬¿É²é¿´¶ÔÓ¦µÄ°üÖеÄAPIºÍ¹Ù·½Àý×ÓÔõôÓá£
2¡¢jsjava
 
Õâ¸ö²å¼þ£¬¼¸ºõÓÃjsÓïÑÔÖØдÁËapache commons langÖеŦÄÜ£¬ÆäʵÊÇÉÏÃæcommons-mathµÄjs°æ£¨jsjava-math.js£©£¬Ö÷ÒªÓÐ
1) jsjava-core.js : include jsjava core classes
2) jsjava-ajax.js : include jsjava ajax classes
3) jsjava-anim.js : include jsjava animation classes
4) jsjava-math.js : include jsjava math classes
5) jsjava-blog.js : include jsjava blog classes
6) jsjava-comp.js : include jsjava components classes
7) jsjava-info.js : include jsjava information classes
 
 


Ïà¹ØÎĵµ£º

WindowsÏÂJAVAºÍANTºÍSDK»·¾³±äÁ¿ÉèÖÃ

ÒÔÏÂÉèÖÃWinXP¼°ÒÔÉÏÓû§£¬ÓÒ¼üµã»÷ÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿£¬ÉèÖü´¿É¡£ÉèÖÃÍê³ÉºóÐèÖØÐÂÆô¶¯ÃüÁîÌáʾ·û²ÅÄÜÉúЧ¡£¾ßÌåÈçÏ£º
JAVA»·¾³±äÁ¿ÉèÖÃ
WindowsÏÂJAVAÓõ½µÄ»·¾³±äÁ¿Ö÷ÒªÓÐ3¸ö£¬JAVA_HOME¡¢CLASSPATH¡¢PATH¡£
JAVA_HOMEÖ¸ÏòµÄÊÇJDKµÄ°²×°Â·¾¶£¬ÈçD:\Program Files\IBM\Java50£¬ÔÚÕâ·¾¶ÏÂÄãÓ¦¸ÃÄܹ»Õ ......

Java synchronized

ÖÚËùÖÜÖª£¬ÔÚJava¶àÏ̱߳à³ÌÖУ¬Ò»¸ö·Ç³£ÖØÒªµÄ·½Ãæ¾ÍÊÇÏ̵߳Äͬ²½ÎÊÌâ¡£
¹ØÓÚÏ̵߳Äͬ²½£¬Ò»°ãÓÐÒÔϽâ¾ö·½·¨£º

1.
ÔÚÐèҪͬ²½µÄ·½·¨µÄ·½·¨Ç©ÃûÖмÓÈësynchronized¹Ø¼ü×Ö¡£

2.
ʹÓÃsynchronized¿é¶ÔÐèÒª½øÐÐͬ²½µÄ´úÂë¶Î½øÐÐͬ²½¡£

3. ʹÓÃJDK
5ÖÐÌṩµÄjava.util.concurrent.lock°üÖеÄLock¶ÔÏó¡£ ......

Ò»¸öJava³ÌÐòÔ±Ó¦¸ÃÕÆÎÕµÄ10Ïî¼¼ÄÜ


1¡¢Óï·¨£º±ØÐë±È½ÏÊìϤ£¬ÔÚд´úÂëµÄʱºòIDEµÄ±à¼­Æ÷¶ÔijһÐб¨´íÓ¦¸ÃÄܹ»¸ù¾Ý±¨´íÐÅÏ¢ÖªµÀÊÇʲôÑùµÄÓï·¨´íÎó²¢ÇÒÖªµÀÈκÎÐÞÕý¡£
2¡¢ÃüÁ±ØÐëÊìϤJDK´øµÄһЩ³£ÓÃÃüÁî¼°Æä³£ÓÃÑ¡ÏÃüÁîÖÁÉÙÐèÒªÊìϤ£ºappletviewer¡¢ HtmlConverter¡¢jar¡¢ java¡¢javac¡¢javadoc¡¢javap¡¢javaw¡¢native2ascii¡¢serialver£¬Èç¹ûÕâЩÃüÁ ......

java¹ýÂ˹ؼü×Ö

KeywordFilter.java:
import java.io.InputStream;
import java.util.Enumeration;
import java.util.Properties;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class KeywordFilter
{
private static Pattern pattern = null;
private static KeywordFilter filter = new KeywordF ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ