java ÐòÁл¯Óë³Ö¾Ã»¯
Ê×ÏÈҪ˵µÄÊÇ,HibernateÖÐORMÀï¶ÔÓ¦µÄÓ³ÉäÎļþBEAN,±ØÐëʵÏÖÐòÁл¯.ÒòΪBEANÀïµÄÊý¾ÝÐèÒª´æÈëÊý¾Ý¿â(Ҫת»¯Îª¶þ½øÖƱ£´æ),½øÐдæÈ¡¹¤×÷.
JAVAÀàµÄÊý¾Ý ,Èç¹ûÒª½øÐÐÏà¹ØµÄ´æ´¢¹¤×÷(ÈçдÎļþ,ÍøÂç´«Êä,дÊý¾Ý¿âµÈ),ÄÇôÕâ¸öÊý¾ÝµÄÀà ¾Í±ØÐëʵÏÖÐòÁл¯½Ó¿Ú (java.io.Serializable).
ÐòÁл¯ : °Ñ¶ÔÏóת»» Ϊ¶þ½øÖÆÊý¾Ý(ÈçÍøÂç´«Êä,´æ´¢Êý¾Ý¿âµÈ),±ØÐëʵÏÖÐòÁл¯½Ó¿Ú (java.io.Serializable).
³Ö¾Ã»¯ : °Ñ¶ÔÏó±£´æ ÔÚ½éÖÊÉÏ(ÈçдÎļþ,¶ÁÎļþ²»ÊÇ), ûÓнӿÚʵÏÖ,Ò»°ãÖ¸·½·¨µ÷ÓÃ.
Èç¹û°´ÕÕ´æ´¢½éÖʺÍÉúÃüÖÜÆÚµÄ³¤¶Ì»®·Ö£¬ËùÓеÄÊý¾Ý¶¼ÒÔÁ½ÖÖÐÎʽ´æÔÚ£¬ÆäÖÐÒ»ÖÖÊDZ£´æÓÚÄÚ´æÖеÄÔËÐÐʱ¶ÔÏó£¬ÁíÒ»ÖÖÔòÊÇ´æ´¢Óڳ־û¯ÎïÀí½éÖÊÖеÄÎļþ£¬±ÈÈçÊý¾Ý¿âÎļþµÈ¡£Êý¾ÝµÄ³Ö¾Ã»¯¹Ø×¢ÓÚÏàͬµÄÊý¾ÝÔÚ²»Í¬ÐÎ̬Êý¾ÝÖ®¼äµÄת»¯£¬½â¾öµÄÊÇÈçºÎ½«ÄÚ´æ¶ÔÏó³Ö¾Ã»¯´æ´¢£¬ÒÔ¼°´ÓÎïÀí½éÖÊÖмÓÔØÊý¾Ý²¢´´½¨ÄÚ´æ¶ÔÏó¡£
Êý¾ÝµÄ³Ö¾Ã»¯ÊÇÐòÁл¯µÄÓÖÒ»¸öµäÐ͵ÄÓ¦Ó㬶ÔÏóÖ»ÓÐÔÚÐòÁл¯Ö®ºó²ÅÄܽøÐг־û¯´æ´¢£¬´Ó³Ö¾Ã»¯´æ´¢½éÖʼÓÔØµÄÊý¾Ýͨ¹ý·´ÐòÁл¯×ª±ä³ÉÔËÐÐʱ¶ÔÏó¡£
Ïà¹ØÎĵµ£º
javaʵÏֵĶàÏîʽ¼Ó·¨£¬¼õ·¨£¬³Ë·¨£¬³ý·¨ÔËË㣬ÆäÖжàÏîʽµÄ±íʾÐÎʽΪ°´Ãݴӵ͵½¸ßµÄϵÊýÊý×飬Êý×éµÄ³¤¶È¼´ÊǶàÏîʽµÄÃÝ
¼´ Êý×é{1,2,3,4} ±íʾ¶àÏîʽ4x3+3x2+2x+1
ÔËËãÔÚ¹¤¾ßÀàPolynÖнøÐÐ ³õʼ»¯Polyn±ØÐëÒª´«Á½¸ö²ÎÊý ¼´±»³ýÊýºÍ³ýÊý
ÆäÖмӷ¨£¬¼õ·¨ºÍ³Ë·¨ÊǾ²Ì¬·½·¨ ²»ÐèʵÀý¼´¿ÉʹÓÃ
³ý·¨ÐèÒª²úÉúÉ̺ÍÓàÊ ......
Ëæ×Å»¥ÁªÍøµÄÈÕÒæ×³´ó,ÍøÕ¾µÄpvºÍuv³ÉÏßÐÔ»òÕßÖ¸Êý±¶µÄÔö¼Ó.µ¥·þÎñÆ÷µ¥Êý¾Ý¿âÔçÒѾ²»ÄÜÂú×ãʵ¼ÊÐèÇó.±ÈÈçÏñÊ¢´ó,ÌÔ±¦ÕâÑùµÄ´óÐÍÍøÂ繫˾,¸üÊÇÈç´Ë.
¼¯Èº,Ò²¾ÍÊÇÈÃÒ»×鼯Ëã»ú·þÎñÆ÷Ðͬ¹¤×÷,´ï½â¾ö´ó²¢·¢,´óÊý¾ÝÁ¿Æ¿¾±ÎÊÌâ.µ«ÊÇÔÚȺ¼¯ÖÐ,sessionÍùÍùÊÇÒ»¸ö±È½ÈÍ·ÌÛµÄÎ ......
ÔÚJAVAÖУ¬ ÔÚʹÓÃString.split·½·¨·Ö¸ô×Ö·û´®Ê±£¬µ«Òª×¢ÒâÓÐЩ×Ö·û²»ÄÜÖ±½ÓÓõÄ,·Ö¸ô·ûÈç¹ûÓõ½Ò»Ð©ÌØÊâ×Ö·û,±ÈÈç "| "
,"*",µÈ·ñÔò»á³öÏÖÎÊÌ⣬ÒÔǰ¸ÕÓÃʱ¾ÍÒòΪÕâ¸öÎÊÌâ¶ø¿´Á˰ëÌìµÄ´úÂë¡£
public String[] split(String regex)
Splits this string around matches of the given regular expression.
&nbs ......
Runtime runtime = Runtime.getRuntime();// ¿ªÊ¼µ÷Ó÷þÎñ¶Ë½Å±¾
Process process = runtime.exec("encode.sh /home/tomcat6/kgedata/note_not_encode/ /home/tomcat6/kgedata/note_encode/");
int exitVal = process.waitFor();
System.out.prin ......