锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产精品久久久久婷婷老年,色老板亚洲视频免在线观,亚洲中文无码mvhttp://www.tkk7.com/wangflood/category/47232.html綺懼績緇存姢涓涓妧鏈痓log錛屼負浜嗗伐浣滐紝涔熸槸鐖卞ソ銆?/description>zh-cnThu, 31 Mar 2011 14:20:45 GMTThu, 31 Mar 2011 14:20:45 GMT60璧拌繎System綾?/title><link>http://www.tkk7.com/wangflood/articles/System.html</link><dc:creator>wangflood</dc:creator><author>wangflood</author><pubDate>Wed, 30 Mar 2011 09:52:00 GMT</pubDate><guid>http://www.tkk7.com/wangflood/articles/System.html</guid><wfw:comment>http://www.tkk7.com/wangflood/comments/347316.html</wfw:comment><comments>http://www.tkk7.com/wangflood/articles/System.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wangflood/comments/commentRss/347316.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wangflood/services/trackbacks/347316.html</trackback:ping><description><![CDATA[鎴戜緷鐒惰寰?鏇劇粡鍦ㄥ惉椹+鍏電殑J2SE鐨勮紼嬫椂錛岃鍒皉egex鏃訛紝鏈変釜鏂規(guī)硶鍙?lookat"錛屼竴鍚戞俯鍜岀殑椹厔澶ф掞紝璇碨UN榪欎釜鍚庣煡鍚庤鐨勫湡槌?榪欎釜鍚嶅瓧鍙栧緱澶氫箞鍨冨溇銆傝繖涓殑浜鴻繕娣峰湪sun閲岄潰錛屽彲浠ユ兂瑙乻un閲岄潰鏈夊灝戣繖鏍風(fēng)殑璐ц壊銆傚張涓騫達紝sun琚玱racle鏀惰喘錛屾垜澶ф儕椹+鍏電殑棰勮鎬?br /> 鍚庢潵鎴戝湪璇?lt;<thinking in java>>鏃訛紝鍙戠幇Bruce錛屼篃鍦ㄩ獋SUN銆傚眳鐒墮獋鐨勮瘽鍜岄┈澹叺涓鏍?br /> 榪欎箞褰撶劧鏄┈澹叺鎶勮浜嗐傛妧鏈憳涔熷氨榪欎箞鐐逛箰銆傛棤璇傘傘傘傘傘?br /> 涓嶈鐩鎬俊閭h皝璋佺殑銆傚彧絀夸竴鎵嬮瀷錛屾垜鍚庢潵鎯熾備技涔庢璇濅篃寮曡嚜椹+鍏碉紝涓嶇煡椹+鍏靛紩鑷皝鐨勩?br /> 浠庣爺絀舵簮鐮佸紑濮嬪惂銆傘傘傘傘傘?br /> <div style="background-color: #eeeeee; font-size: 13px; border: 1px solid #cccccc; padding: 4px 5px 4px 4px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: #008000;">/**</span><span style="color: #008000;"><br />  * <br />  </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #0000ff;">package</span><span style="color: #000000;"> com.wang.test;<br /> <br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.BufferedReader;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.File;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.FileInputStream;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.IOException;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.InputStreamReader;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.io.PrintStream;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.nio.channels.Channel;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Calendar;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Iterator;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Map;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Map.Entry;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Properties;<br /> </span><span style="color: #0000ff;">import</span><span style="color: #000000;"> java.util.Set;<br /> <br /> </span><span style="color: #008000;">/**</span><span style="color: #008000;"><br />  * </span><span style="color: #808080;">@author</span><span style="color: #008000;"> Sam Wang<br />  * </span><span style="color: #808080;">@since</span><span style="color: #008000;"> Mar 22, 2011<br />  </span><span style="color: #008000;">*/</span><span style="color: #000000;"><br /> </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">class</span><span style="color: #000000;"> TestSystem {<br /> <br />     </span><span style="color: #0000ff;">public</span><span style="color: #000000;"> </span><span style="color: #0000ff;">static</span><span style="color: #000000;"> </span><span style="color: #0000ff;">void</span><span style="color: #000000;"> main(String[] args) </span><span style="color: #0000ff;">throws</span><span style="color: #000000;"> IOException {<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> java灞呯劧鍙互鎵撳嵃閿欒銆傚緢灝戠敤鍒般侰onsole涓嬫槸綰㈣壊鐨勩備及璁ava.util.logger鏄湪鍏朵笂鍖呰鐨勩?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        System.err.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">err</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 寰楀埌緋葷粺鐨勭幆澧冦?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        Map</span><span style="color: #000000;"><</span><span style="color: #000000;">String, String</span><span style="color: #000000;">></span><span style="color: #000000;"> envs </span><span style="color: #000000;">=</span><span style="color: #000000;"> System.getenv();<br />         Set</span><span style="color: #000000;"><</span><span style="color: #000000;">Entry</span><span style="color: #000000;"><</span><span style="color: #000000;">String, String</span><span style="color: #000000;">>></span><span style="color: #000000;"> sets </span><span style="color: #000000;">=</span><span style="color: #000000;"> envs.entrySet();<br />         </span><span style="color: #0000ff;">for</span><span style="color: #000000;"> (Iterator</span><span style="color: #000000;"><</span><span style="color: #000000;">Entry</span><span style="color: #000000;"><</span><span style="color: #000000;">String, String</span><span style="color: #000000;">>></span><span style="color: #000000;"> iterator </span><span style="color: #000000;">=</span><span style="color: #000000;"> sets.iterator(); iterator<br />                 .hasNext();) {<br />             Entry</span><span style="color: #000000;"><</span><span style="color: #000000;">String, String</span><span style="color: #000000;">></span><span style="color: #000000;"> entry </span><span style="color: #000000;">=</span><span style="color: #000000;"> (Entry</span><span style="color: #000000;"><</span><span style="color: #000000;">String, String</span><span style="color: #000000;">></span><span style="color: #000000;">) iterator<br />                     .next();<br />             System.out.println(entry.getKey().toLowerCase() </span><span style="color: #000000;">+</span><span style="color: #000000;"> </span><span style="color: #000000;">"</span><span style="color: #000000;">:</span><span style="color: #000000;">"</span><span style="color: #000000;"><br />                     </span><span style="color: #000000;">+</span><span style="color: #000000;"> entry.getValue().toLowerCase());<br /> <br />         }<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 寰楀埌緋葷粺鐨凱roperties,澶ц嚧鐨勬墦鍗版儏鍐靛拰getenv()宸笉澶氥?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        Properties props </span><span style="color: #000000;">=</span><span style="color: #000000;"> System.getProperties();<br />         System.out.println(props);<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 瀹夊叏綆$悊錛岀椹帺鑹恒?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        SecurityManager man </span><span style="color: #000000;">=</span><span style="color: #000000;"> System.getSecurityManager();<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 瀵逛簬鐗瑰畾鐨勬暟瀛楋紝鎵撳嵃鐨凥ashCode鏄竴鏍風(fēng)殑銆?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 鏈夋椂闂村啀浜嗚В浜嗚ВHashCode</span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        System.out.println(System.identityHashCode(</span><span style="color: #000000;">0</span><span style="color: #000000;">));</span><span style="color: #008000;">//</span><span style="color: #008000;"> 19621457<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 榪欎釜Channel灝辨槸java.nio閲岄潰鐨勩傜敤浣滄祦澶勭悊鐨勪竴綾葷殑涓滆タ鐨勩?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 澶ц嚧涓婂拰Input,System.io鐩稿叧銆?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        Channel channel </span><span style="color: #000000;">=</span><span style="color: #000000;"> System.inheritedChannel();<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 寰楀埌緋葷粺浠ong褰㈠紡琛ㄧず鐨勫綋鍓嶆椂闂淬?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        </span><span style="color: #0000ff;">long</span><span style="color: #000000;"> time </span><span style="color: #000000;">=</span><span style="color: #000000;"> System.nanoTime();<br />         System.out.println(time);<br />         Calendar c </span><span style="color: #000000;">=</span><span style="color: #000000;"> Calendar.getInstance();<br />         c.setTimeInMillis(time);<br />         System.out.println(c.getTime());<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 涓嶅お甯歌錛岃〃紺轟笉鐞嗚В</span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        System.runFinalization();<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> System.err鐨勫寘瑁呫?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        System.setErr(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> PrintStream(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> File(</span><span style="color: #000000;">"</span><span style="color: #000000;">err.txt</span><span style="color: #000000;">"</span><span style="color: #000000;">)));<br />         System.err.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">鎴戠姱閿欎簡銆?/span><span style="color: #000000;">"</span><span style="color: #000000;">);<br />         System.setOut(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> PrintStream(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> File(</span><span style="color: #000000;">"</span><span style="color: #000000;">out.txt</span><span style="color: #000000;">"</span><span style="color: #000000;">)));<br />         System.out.println(</span><span style="color: #000000;">"</span><span style="color: #000000;">turn console to out.txt</span><span style="color: #000000;">"</span><span style="color: #000000;">);<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> System.in鐨勫寘瑁呫?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        System.setIn(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> FileInputStream(</span><span style="color: #000000;">"</span><span style="color: #000000;">film.txt</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br />         InputStreamReader isr </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> InputStreamReader(System.in);<br />         BufferedReader br </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> BufferedReader(isr);<br />         String str </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">""</span><span style="color: #000000;">;<br />         </span><span style="color: #0000ff;">while</span><span style="color: #000000;"> ((str </span><span style="color: #000000;">=</span><span style="color: #000000;"> br.readLine()) </span><span style="color: #000000;">!=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">null</span><span style="color: #000000;">) {<br />             System.out.println(str);<br />         }<br /> <br />         Properties prop </span><span style="color: #000000;">=</span><span style="color: #000000;"> </span><span style="color: #0000ff;">new</span><span style="color: #000000;"> Properties();<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> prop.load(new FileReader("test.properties"));</span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        prop.loadFromXML(</span><span style="color: #0000ff;">new</span><span style="color: #000000;"> FileInputStream(</span><span style="color: #000000;">"</span><span style="color: #000000;">prop.xml</span><span style="color: #000000;">"</span><span style="color: #000000;">));<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 榪欎釜涔熸病浠涔堢敤錛屽緱鍒扮郴緇熼厤緗紝鐒跺悗鐢辯郴緇熻鍒頒竴涓猵rop.xml涓?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 鍏跺疄涔熷彲浠ユ墜鍔ㄥ仛銆?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 鏈変簺浜哄氨鏄鐤戠郴緇燂紙JVM錛夋槸涓嶆槸鑳界粰鎴戜滑鍋氭洿澶氱殑浜嬨?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 鍏跺疄緋葷粺涓嶅畬緹庛?/span><span style="color: #008000;"><br /> </span><span style="color: #000000;">        System.setProperties(prop);<br />         Properties props2 </span><span style="color: #000000;">=</span><span style="color: #000000;"> System.getProperties();<br />         System.out.println(props2);<br /> <br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 瑙佸悕鐭ヤ箟銆傝繖涓柟娉曞弬鏁版垜閮戒笉鎯沖~浜嗐?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> Sytem綾昏偗瀹氭槸java寮鍙慳pi鏃舵渶鍏堟兂鍒拌寮鍙戠殑綾諱簡銆?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 榪欎釜鏂規(guī)硶鏀懼湪System閲岄潰<br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> 鑰屼笉鏄湪Arrays閲岄潰銆傛槸涓巻鍙查仐鐣欓棶棰樸?br />         </span><span style="color: #008000;">//</span><span style="color: #008000;"> System.arraycopy(src, srcPos, dest, destPos, length)</span><span style="color: #008000;"><br /> </span><span style="color: #000000;"><br />     }<br /> }<br /> </span></div> <br /> <br /> <br /> <br /> <img src ="http://www.tkk7.com/wangflood/aggbug/347316.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wangflood/" target="_blank">wangflood</a> 2011-03-30 17:52 <a href="http://www.tkk7.com/wangflood/articles/System.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>璧拌繎Cloneablehttp://www.tkk7.com/wangflood/articles/Cloneable.htmlwangfloodwangfloodWed, 30 Mar 2011 09:29:00 GMThttp://www.tkk7.com/wangflood/articles/Cloneable.htmlhttp://www.tkk7.com/wangflood/comments/347313.htmlhttp://www.tkk7.com/wangflood/articles/Cloneable.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347313.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347313.html
package com.wang.test;

/**
 * 
@author Sam Wang
 * 
@since Mar 22, 2011
 
*/
// 瀹炵幇浜咰loneable鎺ュ彛錛宩ava涓嶈姹備綘瀹炵幇浠諱綍鏂規(guī)硶 it's a marker
public class TestObject implements Cloneable {

    
public static void main(String[] args) throws Exception {
        TestObject test 
= new TestObject();
        test.clone();
// 瀹炵幇浜咰loneable鎺ュ彛鐨凾est瀵硅薄鍙互璋冪敤Cloneable
        int[] arr = { 2141234234, };
        arr.clone();
        
boolean is = arr.getClass() == arr.clone().getClass();
        System.out.println(is);
// true
        Object o = new Object();
        o.clone();
// Object铏界劧鎻愪緵clone鏂規(guī)硶錛屼絾鏄棤娉曡皟鐢ㄣ傚洜涓烘槸native淇グ鐨勩?br />
        
// 瀵逛簬String鏉ヨ錛?/span>
        String str = new String("34534");
        str.clone();
// 涓嶈錛屾病鏈夊疄鐜癈loneable鎺ュ彛銆?/span>
    }
}
// 鍙互鎯寵薄Cloneable鎺ュ彛鍙槸涓涓猰arker.鎵鏈夌殑綾婚兘浠嶰bject緇ф壙錛岃屼笖protected錛?br /> // 鎵浠ユ墍鏈夌殑綾婚兘鏈塩lone鏂規(guī)硶錛屼絾鏄棤娉曟病鏈塵arker鐨勮瘽錛屽氨涓嶈兘璋冪敤clone鏂規(guī)硶銆?br /> // 鏃犳硶浜嗚В鍒癷nt[]鐨勫疄鐜幫紝浣嗘槸int[]鍙互clone.
// 浣嗘槸String鐨勭被浼間簬clone鐨勫姛鑳界殑method榪樺皯鍚楋紵
榪欎釜娣蜂貢鐨勭姸鎬佹湁鐐瑰儚size鍜宭ength銆傚眳鐒惰繕鏈夊彉鎬佺殑闈㈣瘯鑰僉ist鍙栭暱搴︽槸size()錛岃繕鏄痩ength(),浜︽垨鏄痩ength,鎴栨槸size?璁板緱ruby璇█灝辨湁榪欑娣蜂貢銆傛瘮java榪樹貢.鍚勭鏂硅█鐗堢殑ruby錛屾販鎴樸?br /> 鐜ヾota鏃訛紝澶у甯歌:鍚勭鍚勬牱鐨凷B娣鋒垬銆傚懙鍛點?br />


wangflood 2011-03-30 17:29 鍙戣〃璇勮
]]>
璧拌繎DecimalFormathttp://www.tkk7.com/wangflood/articles/DecimalFormat.htmlwangfloodwangfloodWed, 30 Mar 2011 09:16:00 GMThttp://www.tkk7.com/wangflood/articles/DecimalFormat.htmlhttp://www.tkk7.com/wangflood/comments/347309.htmlhttp://www.tkk7.com/wangflood/articles/DecimalFormat.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347309.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347309.htmlimport java.math.BigDecimal;
import java.text.DecimalFormat;

/**
 * 
@author Sam Wang
 * 
@since Mar 22, 2011
 
*/
public class TestFormat {

    
public static void main(String[] args) {
        String str 
= "215713485.000000";
        BigDecimal de 
= new BigDecimal(str);
        String s 
= new DecimalFormat().format(de);
        System.out.println(s);
    }
}
 





wangflood 2011-03-30 17:16 鍙戣〃璇勮
]]>
鐢╰rycatch鍐欎簡涓孌電壒鍒瀮鍦劇殑浠g爜http://www.tkk7.com/wangflood/articles/trycatch.htmlwangfloodwangfloodWed, 30 Mar 2011 09:07:00 GMThttp://www.tkk7.com/wangflood/articles/trycatch.htmlhttp://www.tkk7.com/wangflood/comments/347307.htmlhttp://www.tkk7.com/wangflood/articles/trycatch.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347307.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347307.html
鍦ㄨ繖涓柟娉曢噷闈紝鍙栧緱鍙傛暟鏃?寰椾綔綾誨瀷杞崲銆傛墍浠ュ繀欏繪寜綰﹀畾鐨勯『搴忚漿鎹紝姣斿欏哄簭鏄?String,Integer,Integer).鍙栧弬寰堜笐闄嬪惂銆?br />
緇欒繖涓柟娉曚紶鍙傜殑鏃跺欙紝闇瑕佺‘瀹氬ソ綾誨瀷錛屾瘮濡傛槸浠巟ml涓鍙栧嚭榪欑粍鍙傛暟,閭d箞灝辨槸涓猄ting[]錛岀被鍨嬶紝鐩存帴浼犲弬錛屽彇鍙傜殑鏃跺欎細鎶ラ敊銆傛墍浠ユ姇榪涘幓鐨勬椂鍊欙紝蹇呴』浠ョ‘瀹氱殑綾誨瀷銆?br /> 浠ヤ笅榪欐浠g爜灝辨槸榪欎箞騫茬殑銆?br />
import java.util.Arrays;

public class TestDoubleParse {

    
public static void main(String[] args) {
        String[] strs 
= new String[] { "EMA""14""0.001" };
        Object[] arg 
= new Object[3];
        
for (int i = 0; i < strs.length; i++) {
            
try {
                
int temp = Integer.parseInt(strs[i]);
                arg[i] 
= temp;
            } 
catch (NumberFormatException e) {
                
try {
                    
double d = Double.parseDouble(strs[i]);
                    arg[i] 
= d;
                } 
catch (NumberFormatException nfe) {
                    arg[i] 
= strs[i];
                }

            }

        }
        System.out.println(Arrays.toString(arg));
    }
}

try{try{}}鐨勪綔鐢ㄥ氨鐩稿綋浜庡彟涓縐嶅艦寮忕殑if浜嗐傚緢鏃犲錛屾?zhèn)插墽鐟艟l噸婕斻傘傘傘傘?br />


wangflood 2011-03-30 17:07 鍙戣〃璇勮
]]>
鍏充簬鍔ㄦ佷唬鐞嗙殑娣蜂貢璁捐http://www.tkk7.com/wangflood/articles/Refelect.htmlwangfloodwangfloodWed, 30 Mar 2011 04:48:00 GMThttp://www.tkk7.com/wangflood/articles/Refelect.htmlhttp://www.tkk7.com/wangflood/comments/347269.htmlhttp://www.tkk7.com/wangflood/articles/Refelect.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347269.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347269.html
public interface Bird {

    
public void fly();
    
public void song();
}

public class TinyBird implements Bird {

    
private static final TinyBird instance = new TinyBird();

    
static final TinyBird getDefault() {
        
return instance;
    }

    @Override
    
public void fly() {
        System.out.println(
"bird flying .");

    }

    @Override
    
public void song() {
        System.out.println(
"bird songing .");

    }

}


public class BirdHandler implements InvocationHandler {

    
private Object deledate;

    
public BirdHandler(TinyBird deledate) {
        
this.deledate = deledate;
    }

    @Override
    
public Object invoke(Object proxy, Method method, Object[] args)
            
throws Throwable {
        doBefore();
        Object result 
= method.invoke(deledate, args);
        doAfter();
        
return result;
    }

    
private void doBefore() {
        System.out.println(
"before.");
    }

    
private void doAfter() {
        System.out.println(
"after.");
    }
}



public class Factory {

    
private static Bird instance = newInstance(TinyBird.getDefault());

    
public static Bird getDefaultSettings() {
        
return instance;
    }

    
public static Bird newSettings() {
        
return newInstance(new TinyBird());
    }

    
private static Bird newInstance(TinyBird real) {
        Class
<?> c = TinyBird.class;
        
return (Bird) Proxy.newProxyInstance(c.getClassLoader(),
                c.getInterfaces(), 
new BirdHandler(real));
    }

}


Factory.getDefaultSettings()鍜孎actory.newSettings()涓轟粈涔堣鍚屾椂鍑虹幇銆傘傘傘傘傘傘?/span>





wangflood 2011-03-30 12:48 鍙戣〃璇勮
]]>
浣犳暍璇翠綘鐪熸鐞嗚В浜唈ava鍙橀噺瀹氫箟鍚楋紵http://www.tkk7.com/wangflood/articles/Variable.htmlwangfloodwangfloodTue, 29 Mar 2011 12:50:00 GMThttp://www.tkk7.com/wangflood/articles/Variable.htmlhttp://www.tkk7.com/wangflood/comments/347233.htmlhttp://www.tkk7.com/wangflood/articles/Variable.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347233.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347233.html 鏅氫笂鍜岀兢閲岄潰鍏勫紵鍙堣璁轟簡錛屾病鏈夌粨鏋溿傝創(chuàng)鍑烘潵錛岀瓑鎴戜互鍚庨暱榪涗簡錛屼篃濂界湅鐪嬶紝鑷繁褰撳垵鏄涔堝湴鑿溿?br /> 褰撶劧錛屾渶閲嶈鐨勫氨鏄拰blog璇昏呭垎浜簡銆?br />
public class Test {
    
static int x;
    
static {
        
int x = 0;

    }
    {
        
int x = 0;
    }

    
public static void main(String[] args) {
        
int x = 0;
        
while (true) {
            
// 緙栬瘧閿欒
            
// Doplicate local valiable x
            int x = 0;
        }
    }
}
static涓嶆槸鍙湪data segment涓婂垎閰嶅唴瀛樺悧錛熷鏋滄槸鐨勮瘽錛宻tatic浠g爜鍧楅噷鐨刬nt x=0錛涙槸濡備綍鍒嗛厤鐨?銆傘傘傘傘傘傘傘傘?br /> 寰堟檿銆傛眰楂樻墜鎸囨暀銆?br />


wangflood 2011-03-29 20:50 鍙戣〃璇勮
]]>
List鐨則oArray鏂規(guī)硶http://www.tkk7.com/wangflood/articles/toArray.htmlwangfloodwangfloodTue, 29 Mar 2011 12:43:00 GMThttp://www.tkk7.com/wangflood/articles/toArray.htmlhttp://www.tkk7.com/wangflood/comments/347232.htmlhttp://www.tkk7.com/wangflood/articles/toArray.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347232.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347232.html
import java.util.ArrayList;
import java.util.List;

public class TestList {

    
public static void main(String[] args) {
        List
<String> list = new ArrayList<String>();
        list.add(
"wang");
        list.add(
"hello");
        list.add(
"world");
        
// list涓嶈兘鍋氫負String params鐨勫弬鏁?br />         // test(list);
        
// 涓嶈兘杞崲鎴愬姛銆倃hy ?
        
//test((String[]) list.toArray());
        String[] arr = list.toArray(new String[list.size()]);
        test(arr);
        
//婧愮爜浠g湅涓嶅お鎳傦紝toArray鏂規(guī)硶閲岄潰涓轟粈涔堜笉鑷繁
        
//new String[list.size()];闅鵑亾涓嶆槸鍋氱紦鍐茬殑鍚楋紵
        String[] arr2 = list.toArray(new String[1]);//涓涓暱搴︿篃鎴愬姛銆傝繖涓嶆槸鑰嶆垜鍚楋紵
        test(arr2);
    }

    
public static void test(String params) {
        
for (int i = 0; i < params.length; i++) {
            System.out.println(params[i]);
        }
    }
}
1.涓轟粈涔?String[])list.toArray()杞崲浼氬嚭閿欍?br /> 2.瀹炶返璇佹槑list.toArray(new String[xx])鎷彿閲岄潰鐨勬槸鐢ㄤ綔緙撳啿鐨勩傚綋鐒跺垎閰嶅緱澶氶熷害灝變細蹇簡銆傝繖涓獎鍝嶄細鏈夊澶т簡銆?br />    java榪欎釜璁捐鍐嶆璁╃▼搴忓弬涓庡埌鎬ц兘涓紝JVM浼樺寲杈圭晫鍦ㄥ摢錛熶粈涔堟椂鍊欙紝鎴戜滑闇瑕佽冭檻鍒板垎閰嶄竴涓拰N鐨勫唴瀛樺崟鍏冪紦鍐詫紝鍦ㄩ熷害涓婄殑涓嶅悓?
   榪欐牱鐨勬椂鍊欏鍚楋紵濡傛灉鏈夛紝浠涔堟椂鍊欙紵



wangflood 2011-03-29 20:43 鍙戣〃璇勮
]]>
for (int i = 0, size = c.size(); i < size; i++)http://www.tkk7.com/wangflood/articles/for.htmlwangfloodwangfloodTue, 29 Mar 2011 04:46:00 GMThttp://www.tkk7.com/wangflood/articles/for.htmlhttp://www.tkk7.com/wangflood/comments/347203.htmlhttp://www.tkk7.com/wangflood/articles/for.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/347203.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/347203.html
package com.wang.test;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Set;

public class Test {
    
private final static int Length = 1000;

    
public static void main(String[] args) {
        
int length = 1000;
        List
<Double> c = new ArrayList<Double>();
        initSet(c);
        
long t1 = System.currentTimeMillis();
        test1(c);
        
long t2 = System.currentTimeMillis();
        test2(c);
        
long t3 = System.currentTimeMillis();
        test3(c);
        
long t4 = System.currentTimeMillis();
        test4(c);
        
long t5 = System.currentTimeMillis();
        System.out
                .println(
"*******************************************************************");
        System.out.println(t2 
- t1);
        System.out.println(t3 
- t2);
        System.out.println(t4 
- t3);
        System.out.println(t5 
- t4);
    }

    
private static void test3(List<Double> c) {
        
for (Iterator<Double> iterator = c.iterator(); iterator.hasNext();) {
            System.out.println(iterator.next());

        }

    }

    
private static void test2(List<Double> c) {
        
for (int i = 0; i < c.size(); i++) {
            System.out.println(c.get(i));
        }

    }

    
private static void test4(List<Double> c) {
        
for (int i = c.size() - 1; i >= 0; i--) {
            System.out.println(c.get(i));
        }

    }

    
private static void test1(List<Double> c) {
        
for (int i = 0, size = c.size(); i < size; i++) {
            System.out.println(c.get(i));
        }
    }

    
private static void initSet(List<Double> c) {
        
for (int i = 0; i < Length; i++) {
            c.add(Math.random());
        }

    }

}
Length==1000鏃?
94
62
32
31
Length==10000鏃?
516
406
375
344

Length==100000鏃?
3563
3453
3641
3453
Length==1000000鏃?
35109
34625
36469
34891


JVM鍒板簳鏈夋病鏈変紭鍖栧憿銆傛垜娌℃湁鎵撳紑姹囩紪鐪嬨備絾鑷沖皯鎴戝緱鍑虹粨璁?for (int i = 0, size = c.size(); i < size; i++)榪欑鍐欐硶娌℃湁蹇呰銆傛暟鎹噺涓嶅ぇ鐨勬椂鍊欙紝鍙嶈屾晥鐜囦綆寰堝銆?br />
鍚勪綅楂樻墜緇欏緩璁傘傘傘傘傘傘俉hy





wangflood 2011-03-29 12:46 鍙戣〃璇勮
]]>
浜茶繎楠岃瘉鐮?/title><link>http://www.tkk7.com/wangflood/articles/341535.html</link><dc:creator>wangflood</dc:creator><author>wangflood</author><pubDate>Sat, 25 Dec 2010 15:10:00 GMT</pubDate><guid>http://www.tkk7.com/wangflood/articles/341535.html</guid><wfw:comment>http://www.tkk7.com/wangflood/comments/341535.html</wfw:comment><comments>http://www.tkk7.com/wangflood/articles/341535.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wangflood/comments/commentRss/341535.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wangflood/services/trackbacks/341535.html</trackback:ping><description><![CDATA[        鏈榪戝湪鍋氫竴涓潰璇曢錛屾柇鏂畫緇湴蹇欎簡涔?jié)澶┿傜粓浜庤刀鍦ㄥ湥璇炶妭鍓嶏紝榪欎釜緹庡ソ鐨勬櫄涓婂畬鎴愩備笉浠呮妸SSH鏋舵瀯澶嶄範(fàn)涓閬嶏紝displaytag涔熷簲鐢ㄤ笂浜嗐?br /> 瀹屾垚榪欎釜欏圭洰錛屼駭鐢熶簡鍑犱釜琛嶇敓鍝併傚叾涓獙璇佺爜灝辨槸鍏朵腑涓涓?br /> <br /> 涓鑸ぇ鐧誨綍鍜屾敞鍐岄〉闈笂瀛樺湪楠岃瘉錛屼互鍓嶈寰楀緢紲炵銆傚彲鑳芥槸鎺ヨЕ寰楀錛岄珮搴﹀氨楂樹簡錛屽啀鐪嬮獙璇佺爜錛屽叾瀹炲氨鏄痳esponse涓涓猚ontentType="image/jpeg"綾誨瀷鐨刪tml鑰屽凡銆?br /> 涓嬮潰鏄垜鍜宎wt鏂瑰紡鐢熸垚榪欏紶鍥劇墖鐨勬簮鐮?<br /> <div style="border-right: #cccccc 1px solid; padding-right: 5px; border-top: #cccccc 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: #cccccc 1px solid; width: 98%; word-break: break-all; padding-top: 4px; border-bottom: #cccccc 1px solid; background-color: #eeeeee"><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.BorderLayout;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.Button;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.Color;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.Font;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.Frame;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.Graphics;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.event.ActionEvent;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.event.ActionListener;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.event.WindowAdapter;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.event.WindowEvent;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.awt.image.BufferedImage;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.Random;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.concurrent.TimeUnit;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_426_2103_Open_Image" onclick="this.style.display='none'; Codehighlighter1_426_2103_Open_Text.style.display='none'; Codehighlighter1_426_2103_Closed_Image.style.display='inline'; Codehighlighter1_426_2103_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_426_2103_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_426_2103_Closed_Text.style.display='none'; Codehighlighter1_426_2103_Open_Image.style.display='inline'; Codehighlighter1_426_2103_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedBlock.gif" align="top" alt="" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> Test </span><span style="color: #0000ff">extends</span><span style="color: #000000"> Frame </span><span id="Codehighlighter1_426_2103_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_426_2103_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_444_896_Open_Image" onclick="this.style.display='none'; Codehighlighter1_444_896_Open_Text.style.display='none'; Codehighlighter1_444_896_Closed_Image.style.display='inline'; Codehighlighter1_444_896_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_444_896_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_444_896_Closed_Text.style.display='none'; Codehighlighter1_444_896_Open_Image.style.display='inline'; Codehighlighter1_444_896_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> Test() </span><span id="Codehighlighter1_444_896_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_444_896_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Button b </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Button(</span><span style="color: #000000">"</span><span style="color: #000000">涓嬩竴涓?/span><span style="color: #000000">"</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        setBounds(</span><span style="color: #000000">300</span><span style="color: #000000">, </span><span style="color: #000000">300</span><span style="color: #000000">, </span><span style="color: #000000">400</span><span style="color: #000000">, </span><span style="color: #000000">400</span><span style="color: #000000">);<br /> <img id="Codehighlighter1_558_646_Open_Image" onclick="this.style.display='none'; Codehighlighter1_558_646_Open_Text.style.display='none'; Codehighlighter1_558_646_Closed_Image.style.display='inline'; Codehighlighter1_558_646_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_558_646_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_558_646_Closed_Text.style.display='none'; Codehighlighter1_558_646_Open_Image.style.display='inline'; Codehighlighter1_558_646_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">this</span><span style="color: #000000">.addWindowListener(</span><span style="color: #0000ff">new</span><span style="color: #000000"> WindowAdapter() </span><span id="Codehighlighter1_558_646_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_558_646_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            @Override<br /> <img id="Codehighlighter1_617_642_Open_Image" onclick="this.style.display='none'; Codehighlighter1_617_642_Open_Text.style.display='none'; Codehighlighter1_617_642_Closed_Image.style.display='inline'; Codehighlighter1_617_642_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_617_642_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_617_642_Closed_Text.style.display='none'; Codehighlighter1_617_642_Open_Image.style.display='inline'; Codehighlighter1_617_642_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> windowClosing(WindowEvent e) </span><span id="Codehighlighter1_617_642_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_617_642_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                System.exit(</span><span style="color: #000000">0</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000">);<br /> <img id="Codehighlighter1_693_780_Open_Image" onclick="this.style.display='none'; Codehighlighter1_693_780_Open_Text.style.display='none'; Codehighlighter1_693_780_Closed_Image.style.display='inline'; Codehighlighter1_693_780_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_693_780_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_693_780_Closed_Text.style.display='none'; Codehighlighter1_693_780_Open_Image.style.display='inline'; Codehighlighter1_693_780_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        b.addActionListener(</span><span style="color: #0000ff">new</span><span style="color: #000000"> ActionListener() </span><span id="Codehighlighter1_693_780_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_693_780_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            @Override<br /> <img id="Codehighlighter1_755_776_Open_Image" onclick="this.style.display='none'; Codehighlighter1_755_776_Open_Text.style.display='none'; Codehighlighter1_755_776_Closed_Image.style.display='inline'; Codehighlighter1_755_776_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_755_776_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_755_776_Closed_Text.style.display='none'; Codehighlighter1_755_776_Open_Image.style.display='inline'; Codehighlighter1_755_776_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> actionPerformed(ActionEvent e) </span><span id="Codehighlighter1_755_776_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_755_776_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                repaint();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />            }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        repaint();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">this</span><span style="color: #000000">.setLayout(</span><span style="color: #0000ff">new</span><span style="color: #000000"> BorderLayout());<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">this</span><span style="color: #000000">.add(b, BorderLayout.SOUTH);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">this</span><span style="color: #000000">.setVisible(</span><span style="color: #0000ff">true</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />    @Override<br /> <img id="Codehighlighter1_945_1750_Open_Image" onclick="this.style.display='none'; Codehighlighter1_945_1750_Open_Text.style.display='none'; Codehighlighter1_945_1750_Closed_Image.style.display='inline'; Codehighlighter1_945_1750_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_945_1750_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_945_1750_Closed_Text.style.display='none'; Codehighlighter1_945_1750_Open_Image.style.display='inline'; Codehighlighter1_945_1750_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> paint(Graphics headG) </span><span id="Codehighlighter1_945_1750_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_945_1750_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> width </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">400</span><span style="color: #000000">, height </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">400</span><span style="color: #000000">;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        BufferedImage image </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedImage(width, height,<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />                BufferedImage.TYPE_INT_RGB);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Graphics g </span><span style="color: #000000">=</span><span style="color: #000000"> image.getGraphics();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Random random </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Random();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        g.setColor(getRandColor(</span><span style="color: #000000">200</span><span style="color: #000000">, </span><span style="color: #000000">250</span><span style="color: #000000">));<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        g.fillRect(</span><span style="color: #000000">0</span><span style="color: #000000">, </span><span style="color: #000000">0</span><span style="color: #000000">, width, height);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        g.setFont(</span><span style="color: #0000ff">new</span><span style="color: #000000"> Font(</span><span style="color: #000000">"</span><span style="color: #000000">Arial</span><span style="color: #000000">"</span><span style="color: #000000">, Font.BOLD, </span><span style="color: #000000">120</span><span style="color: #000000">));<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        g.setColor(getRandColor(</span><span style="color: #000000">160</span><span style="color: #000000">, </span><span style="color: #000000">200</span><span style="color: #000000">));<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_1330_1504_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1330_1504_Open_Text.style.display='none'; Codehighlighter1_1330_1504_Closed_Image.style.display='inline'; Codehighlighter1_1330_1504_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1330_1504_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1330_1504_Closed_Text.style.display='none'; Codehighlighter1_1330_1504_Open_Image.style.display='inline'; Codehighlighter1_1330_1504_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</span><span style="color: #000000"> (</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> </span><span style="color: #000000">550</span><span style="color: #000000">; i</span><span style="color: #000000">++</span><span style="color: #000000">) </span><span id="Codehighlighter1_1330_1504_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1330_1504_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> x </span><span style="color: #000000">=</span><span style="color: #000000"> random.nextInt(width);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> y </span><span style="color: #000000">=</span><span style="color: #000000"> random.nextInt(height);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> xl </span><span style="color: #000000">=</span><span style="color: #000000"> random.nextInt(</span><span style="color: #000000">12</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            </span><span style="color: #0000ff">int</span><span style="color: #000000"> yl </span><span style="color: #000000">=</span><span style="color: #000000"> random.nextInt(</span><span style="color: #000000">12</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            g.drawLine(x, y, x </span><span style="color: #000000">+</span><span style="color: #000000"> xl, y </span><span style="color: #000000">+</span><span style="color: #000000"> yl);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        String sRand </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">""</span><span style="color: #000000">;<br /> <img id="Codehighlighter1_1557_1708_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1557_1708_Open_Text.style.display='none'; Codehighlighter1_1557_1708_Closed_Image.style.display='inline'; Codehighlighter1_1557_1708_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1557_1708_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1557_1708_Closed_Text.style.display='none'; Codehighlighter1_1557_1708_Open_Image.style.display='inline'; Codehighlighter1_1557_1708_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">for</span><span style="color: #000000"> (</span><span style="color: #0000ff">int</span><span style="color: #000000"> i </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">; i </span><span style="color: #000000"><</span><span style="color: #000000"> </span><span style="color: #000000">4</span><span style="color: #000000">; i</span><span style="color: #000000">++</span><span style="color: #000000">) </span><span id="Codehighlighter1_1557_1708_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1557_1708_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            String rand </span><span style="color: #000000">=</span><span style="color: #000000"> String.valueOf(random.nextInt(</span><span style="color: #000000">10</span><span style="color: #000000">));<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            sRand </span><span style="color: #000000">+=</span><span style="color: #000000"> rand;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            g.setColor(</span><span style="color: #0000ff">new</span><span style="color: #000000"> Color(</span><span style="color: #000000">0</span><span style="color: #000000">, </span><span style="color: #000000">0</span><span style="color: #000000">, </span><span style="color: #000000">0</span><span style="color: #000000">));<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            g.drawString(rand, </span><span style="color: #000000">110</span><span style="color: #000000"> </span><span style="color: #000000">*</span><span style="color: #000000"> i </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">3</span><span style="color: #000000">, </span><span style="color: #000000">250</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />        }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        headG.drawImage(image, </span><span style="color: #000000">0</span><span style="color: #000000">, </span><span style="color: #000000">0</span><span style="color: #000000">, </span><span style="color: #0000ff">this</span><span style="color: #000000">);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_1793_1812_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1793_1812_Open_Text.style.display='none'; Codehighlighter1_1793_1812_Closed_Image.style.display='inline'; Codehighlighter1_1793_1812_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1793_1812_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1793_1812_Closed_Text.style.display='none'; Codehighlighter1_1793_1812_Open_Image.style.display='inline'; Codehighlighter1_1793_1812_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">static</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> main(String[] args) </span><span id="Codehighlighter1_1793_1812_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1793_1812_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">new</span><span style="color: #000000"> Test();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img id="Codehighlighter1_1858_2100_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1858_2100_Open_Text.style.display='none'; Codehighlighter1_1858_2100_Closed_Image.style.display='inline'; Codehighlighter1_1858_2100_Closed_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" alt="" /><img id="Codehighlighter1_1858_2100_Closed_Image" style="display: none" onclick="this.style.display='none'; Codehighlighter1_1858_2100_Closed_Text.style.display='none'; Codehighlighter1_1858_2100_Open_Image.style.display='inline'; Codehighlighter1_1858_2100_Open_Text.style.display='inline';" src="http://www.tkk7.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" alt="" />    </span><span style="color: #0000ff">static</span><span style="color: #000000"> Color getRandColor(</span><span style="color: #0000ff">int</span><span style="color: #000000"> fc, </span><span style="color: #0000ff">int</span><span style="color: #000000"> bc) </span><span id="Codehighlighter1_1858_2100_Closed_Text" style="border-right: #808080 1px solid; border-top: #808080 1px solid; display: none; border-left: #808080 1px solid; border-bottom: #808080 1px solid; background-color: #ffffff"><img src="http://www.tkk7.com/Images/dot.gif" alt="" /></span><span id="Codehighlighter1_1858_2100_Open_Text"><span style="color: #000000">{<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        Random random </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Random();<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (fc </span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #000000">255</span><span style="color: #000000">)<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            fc </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">255</span><span style="color: #000000">;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (bc </span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #000000">255</span><span style="color: #000000">)<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />            bc </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">255</span><span style="color: #000000">;<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> r </span><span style="color: #000000">=</span><span style="color: #000000"> fc </span><span style="color: #000000">+</span><span style="color: #000000"> random.nextInt(bc </span><span style="color: #000000">-</span><span style="color: #000000"> fc);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> g </span><span style="color: #000000">=</span><span style="color: #000000"> fc </span><span style="color: #000000">+</span><span style="color: #000000"> random.nextInt(bc </span><span style="color: #000000">-</span><span style="color: #000000"> fc);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">int</span><span style="color: #000000"> b </span><span style="color: #000000">=</span><span style="color: #000000"> fc </span><span style="color: #000000">+</span><span style="color: #000000"> random.nextInt(bc </span><span style="color: #000000">-</span><span style="color: #000000"> fc);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" />        </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Color(r, g, b);<br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" alt="" />    }</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/InBlock.gif" align="top" alt="" /><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" alt="" />}</span></span><span style="color: #000000"><br /> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" alt="" /></span></div> <br /> 榪愯鎯呭喌(鎴浘):<br /> <img alt="" src="http://www.tkk7.com/images/blogjava_net/wangflood/c.jpg" border="0" /><br /> <img src ="http://www.tkk7.com/wangflood/aggbug/341535.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wangflood/" target="_blank">wangflood</a> 2010-12-25 23:10 <a href="http://www.tkk7.com/wangflood/articles/341535.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>楂樹豢Windows鏍囧噯鍨嬭綆楀櫒瀹炵幇http://www.tkk7.com/wangflood/articles/Cal.htmlwangfloodwangfloodSat, 13 Nov 2010 00:03:00 GMThttp://www.tkk7.com/wangflood/articles/Cal.htmlhttp://www.tkk7.com/wangflood/comments/337964.htmlhttp://www.tkk7.com/wangflood/articles/Cal.html#Feedback0http://www.tkk7.com/wangflood/comments/commentRss/337964.htmlhttp://www.tkk7.com/wangflood/services/trackbacks/337964.html闃呰鍏ㄦ枃

wangflood 2010-11-13 08:03 鍙戣〃璇勮
]]>
姝岃瘝鏁寸悊鐨勭▼搴忓疄鐜?/title><link>http://www.tkk7.com/wangflood/articles/337963.html</link><dc:creator>wangflood</dc:creator><author>wangflood</author><pubDate>Fri, 12 Nov 2010 23:43:00 GMT</pubDate><guid>http://www.tkk7.com/wangflood/articles/337963.html</guid><wfw:comment>http://www.tkk7.com/wangflood/comments/337963.html</wfw:comment><comments>http://www.tkk7.com/wangflood/articles/337963.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wangflood/comments/commentRss/337963.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wangflood/services/trackbacks/337963.html</trackback:ping><description><![CDATA[     鎽樿:     10鏈堝簳鍒版繁鍦蟲潵鎵懼伐浣滐紝涓鐩存病鏈夌粰浜哄康鎯熾傜劧鍚庢垜灝卞湪鍥介檯鏂囧寲澶у帵瀹囧晢緗戝仛璧蜂簡閿鍞紝涓杈規(guī)壘鐫宸ヤ綔銆?鎴戞兂鎴戞病鏈夋満浼氾紙鍥犱負鏄簩嫻佹湰縐戯級錛屽氨鑷繁鍒涢犳満浼氬惂銆傛瘡鎼炲畾涓涓鎴峰氨鎯蟲妸浠栧綋浣滆嚜宸辯殑涓涓満浼氥?鎵浠ヤ竴鐩磋窡瀹㈡埛濂楄繎涔庛?鍏朵腑鏈変竴涓摑澶╃鎶鐨勫叕鍙革紝闂垜鑳戒笉鑳藉啓涓▼搴忔潵鏁寸悊姝岃瘝銆傚鏋滆錛屾垜鍙互鍙栧緱闈㈣瘯鏈轟細錛岃繕浼氭敞鍐屼負鎴戜滑瀹囧晢緗戠殑浼氬憳銆?鎴戣姳浜嗕簩涓皬鏃訛紝鎼炲畾浜嗐?...  <a href='http://www.tkk7.com/wangflood/articles/337963.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/wangflood/aggbug/337963.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wangflood/" target="_blank">wangflood</a> 2010-11-13 07:43 <a href="http://www.tkk7.com/wangflood/articles/337963.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://gzqhit.com" target="_blank">国产午夜亚洲精品不卡免下载</a>| <a href="http://d3q4.com" target="_blank">免费国产在线观看</a>| <a href="http://717795.com" target="_blank">精品国产呦系列在线观看免费</a>| <a href="http://aicbbs.com" target="_blank">亚洲乱码一二三四五六区</a>| <a href="http://adcacs.com" target="_blank">亚洲综合伊人久久综合</a>| <a href="http://2828228.com" target="_blank">免费国产真实迷j在线观看</a>| <a href="http://www-65jjj.com" target="_blank">国产成人yy免费视频</a>| <a href="http://www52a.com" target="_blank">性色午夜视频免费男人的天堂</a>| <a href="http://meiluniao.com" target="_blank">免费人成动漫在线播放r18</a>| <a href="http://ywgj50225.com" target="_blank">久久久久亚洲国产</a>| <a href="http://papapa97.com" target="_blank">亚洲特级aaaaaa毛片</a>| <a href="http://eaivan.com" target="_blank">久久伊人久久亚洲综合</a>| <a href="http://am3736.com" target="_blank">亚洲日韩aⅴ在线视频</a>| <a href="http://455zx.com" target="_blank">亚洲日本一区二区一本一道</a>| <a href="http://chuoche.com" target="_blank">免费黄色大片网站</a>| <a href="http://hwjyrck.com" target="_blank">成人毛片免费在线观看</a>| <a href="http://obtainfo.com" target="_blank">美女被cao免费看在线看网站</a>| <a href="http://lhtjdj.com" target="_blank">99精品视频在线观看免费播放</a>| <a href="http://zjlxblog.com" target="_blank">成人无码视频97免费</a>| <a href="http://ju7776.com" target="_blank">a级毛片免费高清视频</a>| <a href="http://2xpp.com" target="_blank">aa午夜免费剧场</a>| <a href="http://kph37.com" target="_blank">一边摸一边桶一边脱免费视频 </a>| <a href="http://fanqi5.com" target="_blank">搜日本一区二区三区免费高清视频 </a>| <a href="http://468862.com" target="_blank">亚洲人成色7777在线观看不卡 </a>| <a href="http://shelaoban.com" target="_blank">国产成人人综合亚洲欧美丁香花</a>| <a href="http://rseav.com" target="_blank">亚洲一区二区久久</a>| <a href="http://vcnxa.com" target="_blank">va天堂va亚洲va影视中文字幕</a>| <a href="http://o091i.com" target="_blank">18亚洲男同志videos网站</a>| <a href="http://8833655.com" target="_blank">亚洲天堂视频在线观看</a>| <a href="http://0730jxpm.com" target="_blank">亚洲AV福利天堂一区二区三</a>| <a href="http://lookvod.com" target="_blank">亚洲成AV人片一区二区</a>| <a href="http://w7768.com" target="_blank">亚洲精品无码高潮喷水在线</a>| <a href="http://ynyinglie.com" target="_blank">伊人久久综在合线亚洲91</a>| <a href="http://jiujiujingpin.com" target="_blank">2022中文字字幕久亚洲</a>| <a href="http://www91pao.com" target="_blank">亚洲香蕉成人AV网站在线观看 </a>| <a href="http://ziniurj.com" target="_blank">99久久免费看国产精品</a>| <a href="http://zxbj0471.com" target="_blank">2021在线观看视频精品免费</a>| <a href="http://987566.com" target="_blank">69免费视频大片</a>| <a href="http://15831883389.com" target="_blank">中文字幕av无码无卡免费</a>| <a href="http://517fanfan.com" target="_blank">成人黄页网站免费观看大全</a>| <a href="http://fuhui123.com" target="_blank">四虎在线免费播放</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>