锘??xml version="1.0" encoding="utf-8" standalone="yes"?>91性高湖久久久久久久久_久久99,欧美国产日韩一区二区,亚洲乱码精品一二三四区日韩在线http://www.aygfsteel.com/oldboy/category/30446.html<marquee><font face="妤蜂綋">鍦ㄩ潪媧茬殑澶ц崏鍘熶笂錛屾瘡澶╁綋澶槼鍗囪搗鐨勬椂鍊欙紝姣忓ご緹氱緤閮界煡閬擄紝濡傛灉瀹冭窇寰楁瘮鏈蹇殑涓澶寸寧璞硅繕瑕佹參錛岄偅瀹冨氨瑕佸け鍘葷敓鍛斤紱鍚屾牱鐨勶紝姣忓ご鐚庤憊涔熸噦寰楋紝濡傛灉瀹冭窇寰楁瘮鏈鎱㈢殑閭eご緹氱緤榪樿鎱紝瀹冧篃浼?xì)澶卞幦潝熷懡銆?lt;/font></marquee>zh-cnTue, 25 Jan 2011 14:29:30 GMTTue, 25 Jan 2011 14:29:30 GMT60BufferedInputStream綾諱腑鐨刴ark錛坕nt readlimit錛夋柟娉?/title><link>http://www.aygfsteel.com/oldboy/articles/195583.html</link><dc:creator>OldBoy</dc:creator><author>OldBoy</author><pubDate>Thu, 24 Apr 2008 06:45:00 GMT</pubDate><guid>http://www.aygfsteel.com/oldboy/articles/195583.html</guid><wfw:comment>http://www.aygfsteel.com/oldboy/comments/195583.html</wfw:comment><comments>http://www.aygfsteel.com/oldboy/articles/195583.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.aygfsteel.com/oldboy/comments/commentRss/195583.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/oldboy/services/trackbacks/195583.html</trackback:ping><description><![CDATA[<p style="font-family: Lucida Console"><span style="font-family: Impact"><span style="font-family: Comic Sans MS"><span style="font-family: Verdana">瀵逛簬BufferedInputStream綾諱腑鐨刴ark(int readlimit)鏂規(guī)硶鐨勪嬌鐢紝寰堝浜虹殑鐤戞儜鏄細(xì)鍙傛暟readlimit絀剁珶璧蜂粈涔堜綔鐢紵<br /> 濂借薄緇檙eadlimit璧嬩換浣曟暣鏁板肩粨鏋滈兘鏄竴鏍楓?br /> <br /> </p> <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"><span style="color: #008080"> 1</span> <span style="color: #0000ff">package</span><span style="color: #000000"> io;<br /> </span><span style="color: #008080"> 2</span> <span style="color: #000000"><br /> </span><span style="color: #008080"> 3</span> <span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> </span><span style="color: #008080"> 4</span> <span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span> <span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> BufInputStrm_A {<br /> </span><span style="color: #008080"> 6</span> <span style="color: #000000"><br /> </span><span style="color: #008080"> 7</span> <span style="color: #000000">    </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 /> </span><span style="color: #008080"> 8</span> <span style="color: #000000">        String s </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">ABCDEFGHI@JKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> </span><span style="color: #008080"> 9</span> <span style="color: #000000">        </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] buf </span><span style="color: #000000">=</span><span style="color: #000000"> s.getBytes();<br /> </span><span style="color: #008080">10</span> <span style="color: #000000">        ByteArrayInputStream in </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> ByteArrayInputStream(buf);<br /> </span><span style="color: #008080">11</span> <span style="color: #000000">        BufferedInputStream bis </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedInputStream(in, </span><span style="color: #000000">13</span><span style="color: #000000">);<br /> </span><span style="color: #008080">12</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">;<br /> </span><span style="color: #008080">13</span> <span style="color: #000000">        </span><span style="color: #0000ff">int</span><span style="color: #000000"> k;<br /> </span><span style="color: #008080">14</span> <span style="color: #000000">        </span><span style="color: #0000ff">do</span><span style="color: #000000"> {<br /> </span><span style="color: #008080">15</span> <span style="color: #000000">            k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">16</span> <span style="color: #000000">            System.out.print((</span><span style="color: #0000ff">char</span><span style="color: #000000">) k </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: #008080">17</span> <span style="color: #000000">            i</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> </span><span style="color: #008080">18</span> <span style="color: #000000"><br /> </span><span style="color: #008080">19</span> <span style="color: #000000">            </span><span style="color: #0000ff">if</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">) {<br /> </span><span style="color: #008080">20</span> <span style="color: #000000">                bis.mark(</span><span style="color: #000000">8</span><span style="color: #000000">);<br /> </span><span style="color: #008080">21</span> <span style="color: #000000">            }<br /> </span><span style="color: #008080">22</span> <span style="color: #000000">        } </span><span style="color: #0000ff">while</span><span style="color: #000000"> (k </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: #008080">23</span> <span style="color: #000000"><br /> </span><span style="color: #008080">24</span> <span style="color: #000000">        System.out.println();<br /> </span><span style="color: #008080">25</span> <span style="color: #000000">        <br /> </span><span style="color: #008080">26</span> <span style="color: #000000">        bis.reset();<br /> </span><span style="color: #008080">27</span> <span style="color: #000000">        k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">28</span> <span style="color: #000000">        </span><span style="color: #0000ff">while</span><span style="color: #000000"> (k </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">) {<br /> </span><span style="color: #008080">29</span> <span style="color: #000000"><br /> </span><span style="color: #008080">30</span> <span style="color: #000000">            System.out.print((</span><span style="color: #0000ff">char</span><span style="color: #000000">) k </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: #008080">31</span> <span style="color: #000000">            k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">32</span> <span style="color: #000000">        }<br /> </span><span style="color: #008080">33</span> <span style="color: #000000"><br /> </span><span style="color: #008080">34</span> <span style="color: #000000">    }<br /> </span><span style="color: #008080">35</span> <span style="color: #000000">}<br /> </span><span style="color: #008080">36</span> </div> <br /> 澶囨敞錛氫負(fù)浜嗘柟渚胯鏄庨棶棰橈紝鎴戜滑鍋囪瑕佽鍙栫殑鏄竴涓瓧絎︿覆錛堢8琛屼唬鐮侊級錛屽悓鏃舵妸緙撳瓨鐨勫ぇ灝忚緗負(fù)浜?3錛堢11琛屼唬鐮侊級銆?br /> 鍦ㄧ20琛屼唬鐮佸璋冪敤浜唌ark(int readlimit)鏂規(guī)硶錛屼絾鏃犺緇欒鏂規(guī)硶浼?1銆?銆?3銆?00紼嬪簭杈撳嚭鐨勭粨鏋滈兘鏄竴鏍鳳細(xì)<br /> <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 alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="color: #000000">A B C D E F G H I @ <br /> <img alt="" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />E F G H I @ J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z </span></div> <br /> 鍦ㄥ畼鏂圭殑API甯姪鏂囨。涓紝瀵逛簬readlimit榪欎釜鍙傛暟鐨勮В閲婃槸錛?br /> <code>    readlimit</code> - the maximum limit of bytes that can be read before the mark position becomes invalid.<br /> 鍏跺疄錛岃繖閲岀殑鏈澶у瓧鑺傛暟錛坱he maximum limit of bytes錛夋槸鎸囪皟鐢╮eset()鏂規(guī)硶涔嬪悗錛岃鍙栬秴榪噐eadlimit鎸囧畾鐨勫瓧鑺傛暟錛屾爣璁扮淮錛坱he mark position錛変細(xì)澶辨晥錛屽鏋滆繖鏃跺啀嬈¤皟鐢╮eset()鏂規(guī)硶錛屼細(xì)鍑虹幇<font face="Verdana">Resetting to invalid mark</font>寮傚父銆備緥濡備笅闈㈢殑紼嬪簭錛?br /> <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"><span style="color: #008080"> 1</span> <span style="color: #0000ff">package</span><span style="color: #000000"> io;<br /> </span><span style="color: #008080"> 2</span> <span style="color: #000000"><br /> </span><span style="color: #008080"> 3</span> <span style="color: #0000ff">import</span><span style="color: #000000"> java.io.</span><span style="color: #000000">*</span><span style="color: #000000">;<br /> </span><span style="color: #008080"> 4</span> <span style="color: #000000"><br /> </span><span style="color: #008080"> 5</span> <span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> BufInputStrm_A {<br /> </span><span style="color: #008080"> 6</span> <span style="color: #000000"><br /> </span><span style="color: #008080"> 7</span> <span style="color: #000000">    </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 /> </span><span style="color: #008080"> 8</span> <span style="color: #000000">        String s </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">"</span><span style="color: #000000">ABCDEFGHI@JKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz</span><span style="color: #000000">"</span><span style="color: #000000">;<br /> </span><span style="color: #008080"> 9</span> <span style="color: #000000">        </span><span style="color: #0000ff">byte</span><span style="color: #000000">[] buf </span><span style="color: #000000">=</span><span style="color: #000000"> s.getBytes();<br /> </span><span style="color: #008080">10</span> <span style="color: #000000">        ByteArrayInputStream in </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> ByteArrayInputStream(buf);<br /> </span><span style="color: #008080">11</span> <span style="color: #000000">        BufferedInputStream bis </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> BufferedInputStream(in, </span><span style="color: #000000">13</span><span style="color: #000000">);<br /> </span><span style="color: #008080">12</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">;<br /> </span><span style="color: #008080">13</span> <span style="color: #000000">        </span><span style="color: #0000ff">int</span><span style="color: #000000"> k;<br /> </span><span style="color: #008080">14</span> <span style="color: #000000">        </span><span style="color: #0000ff">do</span><span style="color: #000000"> {<br /> </span><span style="color: #008080">15</span> <span style="color: #000000">            k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">16</span> <span style="color: #000000">            System.out.print((</span><span style="color: #0000ff">char</span><span style="color: #000000">) k </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: #008080">17</span> <span style="color: #000000">            i</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> </span><span style="color: #008080">18</span> <span style="color: #000000"><br /> </span><span style="color: #008080">19</span> <span style="color: #000000">            </span><span style="color: #0000ff">if</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">) {<br /> </span><span style="color: #008080">20</span> <span style="color: #000000">                bis.mark(</span><span style="color: #000000">8</span><span style="color: #000000">);<br /> </span><span style="color: #008080">21</span> <span style="color: #000000">            }<br /> </span><span style="color: #008080">22</span> <span style="color: #000000">        } </span><span style="color: #0000ff">while</span><span style="color: #000000"> (k </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: #008080">23</span> <span style="color: #000000"><br /> </span><span style="color: #008080">24</span> <span style="color: #000000">        System.out.println();<br /> </span><span style="color: #008080">25</span> <span style="color: #000000"><br /> </span><span style="color: #008080">26</span> <span style="color: #000000">        bis.reset();<br /> </span><span style="color: #008080">27</span> <span style="color: #000000">        k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">28</span> <span style="color: #000000">        </span><span style="color: #0000ff">while</span><span style="color: #000000"> (k </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">) {<br /> </span><span style="color: #008080">29</span> <span style="color: #000000"><br /> </span><span style="color: #008080">30</span> <span style="color: #000000">            System.out.print((</span><span style="color: #0000ff">char</span><span style="color: #000000">) k </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: #008080">31</span> <span style="color: #000000">            k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">32</span> <span style="color: #000000">        }<br /> </span><span style="color: #008080">33</span> <span style="color: #000000"><br /> </span><span style="color: #008080">34</span> <span style="color: #000000">        System.out.println();<br /> </span><span style="color: #008080">35</span> <span style="color: #000000"><br /> </span><span style="color: #008080">36</span> <span style="color: #000000">        bis.reset();<br /> </span><span style="color: #008080">37</span> <span style="color: #000000">        k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">38</span> <span style="color: #000000">        </span><span style="color: #0000ff">while</span><span style="color: #000000"> (k </span><span style="color: #000000">!=</span><span style="color: #000000"> </span><span style="color: #000000">-</span><span style="color: #000000">1</span><span style="color: #000000">) {<br /> </span><span style="color: #008080">39</span> <span style="color: #000000">            System.out.print((</span><span style="color: #0000ff">char</span><span style="color: #000000">) k </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: #008080">40</span> <span style="color: #000000">            k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br /> </span><span style="color: #008080">41</span> <span style="color: #000000"><br /> </span><span style="color: #008080">42</span> <span style="color: #000000">        }<br /> </span><span style="color: #008080">43</span> <span style="color: #000000"><br /> </span><span style="color: #008080">44</span> <span style="color: #000000">    }<br /> </span><span style="color: #008080">45</span> <span style="color: #000000">}<br /> </span><span style="color: #008080">46</span> </div> <br /> 濡傛灉鎴戜滑鍦ㄧ涓嬈¤皟鐢ㄤ簡reset()鏂規(guī)硶涔嬪悗錛屾帶鍒惰鍏ョ殑瀛楄妭涓嶈秴榪?涓紝紼嬪簭灝變細(xì)姝e父鎵ц錛屼緥濡傛垜浠涓婇潰鐨勭▼搴忕殑26-32浠g爜鐢ㄤ笅闈㈢殑浠g爜鏇挎崲錛岀▼搴忓氨鍙互姝e父榪愯浜嗐?br /> <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"><span style="color: #000000">        bis.reset();<br />         </span><span style="color: #0000ff">int</span><span style="color: #000000"> j </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">;<br />         k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br />         </span><span style="color: #0000ff">while</span><span style="color: #000000"> (j </span><span style="color: #000000"><</span><span style="color: #000000"> </span><span style="color: #000000">9</span><span style="color: #000000">) {<br />             <br />             System.out.print((</span><span style="color: #0000ff">char</span><span style="color: #000000">) k </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 />             k </span><span style="color: #000000">=</span><span style="color: #000000"> bis.read();<br />             j</span><span style="color: #000000">++</span><span style="color: #000000">;<br />         }</span></div> <p>琛ュ厖錛?br />     鍦╩ark(int readlimit)鏂規(guī)硶鐨勪唬鐮佷腑錛宺eadlimit鐨勫間細(xì)璧嬬粰鏁版嵁鍩焟arklimit錛屽鏋渕arklimit鐨勫煎ぇ浜庣紦鍐插尯鐨勫糂ufferedInputStream浼?xì)瀵咕~撳啿鍖虹殑澶у皬榪涜璋冩暣錛岃皟鏁翠負(fù)marklimit鐨勫箋?/p> <p>  <br /> </span></span></span></p> <img src ="http://www.aygfsteel.com/oldboy/aggbug/195583.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/oldboy/" target="_blank">OldBoy</a> 2008-04-24 14:45 <a href="http://www.aygfsteel.com/oldboy/articles/195583.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏄皝瀹炵幇浜咺terator鎺ュ彛錛?/title><link>http://www.aygfsteel.com/oldboy/articles/189238.html</link><dc:creator>OldBoy</dc:creator><author>OldBoy</author><pubDate>Fri, 28 Mar 2008 04:29:00 GMT</pubDate><guid>http://www.aygfsteel.com/oldboy/articles/189238.html</guid><wfw:comment>http://www.aygfsteel.com/oldboy/comments/189238.html</wfw:comment><comments>http://www.aygfsteel.com/oldboy/articles/189238.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/oldboy/comments/commentRss/189238.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/oldboy/services/trackbacks/189238.html</trackback:ping><description><![CDATA[   <span style="font-family: 妤蜂綋; font-size: 12pt">濡傛灉搴旂敤Java闆嗗悎妗嗘灦錛屽緢澶氭椂鍊欓兘浼?xì)鐢ㄥ?/span><span style="font-family: 'Courier New'; font-size: 12pt">Iterator</span><span style="font-family: 妤蜂綋; font-size: 12pt">鎺ュ彛綾誨瀷鐨勫璞″闆嗗悎涓殑鍏冪礌榪涜閬嶅巻銆備絾瀵婚亶Java API甯姪鏂囨。錛屽嵈鎵句笉鍒頒換浣曠被瀹炵幇浜咺terator鎺ュ彛銆傞偅涔堝埌搴曟槸璋佸疄鐜頒簡榪欎釜鎺ュ彛鍛紵</span> <p style="text-align: left; text-indent: 21pt" align="left"><span style="font-family: 妤蜂綋; font-size: 12pt">鍏跺疄錛屽洜涓轟笉鍚岄泦鍚堝疄鐜扮被鍚庡彴宸ヤ綔鐨勬暟鎹粨鏋勬湁鎵涓嶅悓錛屾墍浠ユ病鏈夊姙娉曠敤涓涓被鏉ュ疄鐜?/span><span style="font-family: 'Courier New'; font-size: 12pt">Iterator</span><span style="font-family: 妤蜂綋; font-size: 12pt">鎺ュ彛錛屽彲浠ヤ嬌涔嬮傜敤浜庢墍鏈夐泦鍚堛傝繖鏍鳳紝瀹炵幇</span><span style="font-family: 'Courier New'; font-size: 12pt">Iterator</span><span style="font-family: 妤蜂綋; font-size: 12pt">鎺ュ彛鐨勪換鍔″氨钀藉埌浜嗛泦鍚堝疄鐜扮被鑷繁韜笂銆?/span></p> <p style="text-align: left; text-indent: 21pt" align="left"><span style="font-family: 妤蜂綋; font-size: 12pt">鐢變簬瀹炵幇浜咺terator鎺ュ彛鐨勭被浠呬笌鍏蜂綋鐨勯泦鍚堝疄鐜扮被鏈夊叧錛屾墍浠ヨ繖涓被琚璁℃垚浜?strong>縐佹湁鐨勫唴閮ㄧ被</strong>錛屼篃姝e洜涓鴻繖鏍鋒垜浠湪甯姪鏂囨。涓湅涓嶅埌榪欎釜綾葷殑璇存槑銆?/span></p> <p style="text-align: left; text-indent: 21pt" align="left"><span style="font-family: 妤蜂綋; font-size: 12pt">涓嬮潰浠ユ暟緇勫疄鐜扮殑綰挎ц〃涓轟緥錛屽仛涓涓畝鍗曠殑婕旂ず錛岀浉淇$湅榪囦簡榪欐浠g爜錛屽ぇ瀹跺氨浼?xì)娓呮浜嗐?/span></p> <p style="text-align: left; text-indent: 21pt" align="left"><span style="font-family: 妤蜂綋; font-size: 12pt">璇存槑錛氭垜浠繖閲屼富瑕佹槸璁茶В</span><span style="font-family: 'Courier New'; font-size: 12pt">Iterator</span><span style="font-family: 妤蜂綋; font-size: 12pt">鎺ュ彛鐨勪嬌鐢紝鎵浠ュ湪榪欎釜渚嬪瓙涓彧鎻愪緵浜哸dd鍜実et涓や釜鏂規(guī)硶錛屼互鍑忓皯浠g爜錛屼究浜庡ぇ瀹墮槄璇匯?/p> <div style="border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid; padding-bottom: 4px; background-color: #eeeeee; padding-left: 4px; width: 98%; padding-right: 5px; font-size: 13px; word-break: break-all; border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; padding-top: 4px"><img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" /><span style="color: #0000ff">package</span><span style="color: #000000"> javase.study.oldboy;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" /><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" /></span><span style="color: #0000ff">import</span><span style="color: #000000"> java.util.Iterator;<br /> <img id="Codehighlighter1_109_1074_Open_Image" onclick="this.style.display='none'; Codehighlighter1_109_1074_Open_Text.style.display='none'; Codehighlighter1_109_1074_Closed_Image.style.display='inline'; Codehighlighter1_109_1074_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" /><img style="display: none" id="Codehighlighter1_109_1074_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_109_1074_Closed_Text.style.display='none'; Codehighlighter1_109_1074_Open_Image.style.display='inline'; Codehighlighter1_109_1074_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" /></span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">class</span><span style="color: #000000"> OurArrayList</span><span style="color: #000000"><</span><span style="color: #000000">E</span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="color: #0000ff">implements</span><span style="color: #000000"> Iterable</span><span style="color: #000000"><</span><span style="color: #000000">E</span><span style="color: #000000">></span><span style="color: #000000"> </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_109_1074_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_109_1074_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />    </span><span style="color: #0000ff">private</span><span style="color: #000000"> E[] datas;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />    </span><span style="color: #0000ff">private</span><span style="color: #000000"> </span><span style="color: #0000ff">int</span><span style="color: #000000"> size;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" /><br /> <img id="Codehighlighter1_174_189_Open_Image" onclick="this.style.display='none'; Codehighlighter1_174_189_Open_Text.style.display='none'; Codehighlighter1_174_189_Closed_Image.style.display='inline'; Codehighlighter1_174_189_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_174_189_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_174_189_Closed_Text.style.display='none'; Codehighlighter1_174_189_Open_Image.style.display='inline'; Codehighlighter1_174_189_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> OurArrayList() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_174_189_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_174_189_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />        </span><span style="color: #0000ff">this</span><span style="color: #000000">(</span><span style="color: #000000">16</span><span style="color: #000000">);<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" />    }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" /><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />    @SuppressWarnings(</span><span style="color: #000000">"</span><span style="color: #000000">unchecked</span><span style="color: #000000">"</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_259_312_Open_Image" onclick="this.style.display='none'; Codehighlighter1_259_312_Open_Text.style.display='none'; Codehighlighter1_259_312_Closed_Image.style.display='inline'; Codehighlighter1_259_312_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_259_312_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_259_312_Closed_Text.style.display='none'; Codehighlighter1_259_312_Open_Image.style.display='inline'; Codehighlighter1_259_312_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> OurArrayList(</span><span style="color: #0000ff">int</span><span style="color: #000000"> capacity) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_259_312_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_259_312_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />        datas </span><span style="color: #000000">=</span><span style="color: #000000"> (E[]) </span><span style="color: #0000ff">new</span><span style="color: #000000"> Object[capacity];<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />        size </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" />    }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" /><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />    @SuppressWarnings(</span><span style="color: #000000">"</span><span style="color: #000000">unchecked</span><span style="color: #000000">"</span><span style="color: #000000">)<br /> <img id="Codehighlighter1_382_656_Open_Image" onclick="this.style.display='none'; Codehighlighter1_382_656_Open_Text.style.display='none'; Codehighlighter1_382_656_Closed_Image.style.display='inline'; Codehighlighter1_382_656_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_382_656_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_382_656_Closed_Text.style.display='none'; Codehighlighter1_382_656_Open_Image.style.display='inline'; Codehighlighter1_382_656_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> add(</span><span style="color: #0000ff">int</span><span style="color: #000000"> index, E obj) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_382_656_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_382_656_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_412_550_Open_Image" onclick="this.style.display='none'; Codehighlighter1_412_550_Open_Text.style.display='none'; Codehighlighter1_412_550_Closed_Image.style.display='inline'; Codehighlighter1_412_550_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_412_550_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_412_550_Closed_Text.style.display='none'; Codehighlighter1_412_550_Open_Image.style.display='inline'; Codehighlighter1_412_550_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (size </span><span style="color: #000000">>=</span><span style="color: #000000"> datas.length) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_412_550_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_412_550_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />            E[] newData </span><span style="color: #000000">=</span><span style="color: #000000"> (E[]) </span><span style="color: #0000ff">new</span><span style="color: #000000"> Object[datas.length </span><span style="color: #000000">*</span><span style="color: #000000"> </span><span style="color: #000000">2</span><span style="color: #000000"> </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">];<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />            System.arraycopy(datas, </span><span style="color: #000000">0</span><span style="color: #000000">, newData, </span><span style="color: #000000">0</span><span style="color: #000000">, datas.length);<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />            datas </span><span style="color: #000000">=</span><span style="color: #000000"> newData;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" />        }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" /><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />        </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"> size </span><span style="color: #000000">-</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">; i </span><span style="color: #000000">>=</span><span style="color: #000000"> index; i</span><span style="color: #000000">--</span><span style="color: #000000">)<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />            datas[i </span><span style="color: #000000">+</span><span style="color: #000000"> </span><span style="color: #000000">1</span><span style="color: #000000">] </span><span style="color: #000000">=</span><span style="color: #000000"> datas[i];<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />        datas[index] </span><span style="color: #000000">=</span><span style="color: #000000"> obj;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />        size</span><span style="color: #000000">++</span><span style="color: #000000">;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" />    }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" /><br /> <img id="Codehighlighter1_684_762_Open_Image" onclick="this.style.display='none'; Codehighlighter1_684_762_Open_Text.style.display='none'; Codehighlighter1_684_762_Closed_Image.style.display='inline'; Codehighlighter1_684_762_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_684_762_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_684_762_Closed_Text.style.display='none'; Codehighlighter1_684_762_Open_Image.style.display='inline'; Codehighlighter1_684_762_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> E get(</span><span style="color: #0000ff">int</span><span style="color: #000000"> index) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_684_762_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_684_762_Open_Text"><span style="color: #000000">{<br /> <img id="Codehighlighter1_706_738_Open_Image" onclick="this.style.display='none'; Codehighlighter1_706_738_Open_Text.style.display='none'; Codehighlighter1_706_738_Closed_Image.style.display='inline'; Codehighlighter1_706_738_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_706_738_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_706_738_Closed_Text.style.display='none'; Codehighlighter1_706_738_Open_Image.style.display='inline'; Codehighlighter1_706_738_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />        </span><span style="color: #0000ff">if</span><span style="color: #000000"> (index </span><span style="color: #000000"><</span><span style="color: #000000"> size) </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_706_738_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_706_738_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> (E) datas[index];<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" />        }</span></span><span style="color: #000000"> </span><span style="color: #0000ff">else</span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />            </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">null</span><span style="color: #000000">;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" />    }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" /><br /> <img id="Codehighlighter1_796_1072_Open_Image" onclick="this.style.display='none'; Codehighlighter1_796_1072_Open_Text.style.display='none'; Codehighlighter1_796_1072_Closed_Image.style.display='inline'; Codehighlighter1_796_1072_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_796_1072_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_796_1072_Closed_Text.style.display='none'; Codehighlighter1_796_1072_Open_Image.style.display='inline'; Codehighlighter1_796_1072_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" />    </span><span style="color: #0000ff">public</span><span style="color: #000000"> Iterator</span><span style="color: #000000"><</span><span style="color: #000000">E</span><span style="color: #000000">></span><span style="color: #000000"> iterator() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_796_1072_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_796_1072_Open_Text"><span style="color: #000000">{<br /> </span><span style="color: #008000"><br /> <img id="Codehighlighter1_849_1068_Open_Image" onclick="this.style.display='none'; Codehighlighter1_849_1068_Open_Text.style.display='none'; Codehighlighter1_849_1068_Closed_Image.style.display='inline'; Codehighlighter1_849_1068_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_849_1068_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_849_1068_Closed_Text.style.display='none'; Codehighlighter1_849_1068_Open_Image.style.display='inline'; Codehighlighter1_849_1068_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedSubBlock.gif" /></span><span style="color: #000000">        </span><span style="color: #0000ff">return</span><span style="color: #000000"> </span><span style="color: #0000ff">new</span><span style="color: #000000"> Itr<E></span><span style="color: #000000">();</span><span id="Codehighlighter1_849_1068_Open_Text"><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/InBlock.gif" />    </span></span><span style="color: #000000"> }<br /> </span></span><span style="color: #000000">      <br />       private class Itr implements Iterator {<br />         <span style="color: #0000ff">int</span><span style="color: #000000"> count </span><span style="color: #000000">=</span><span style="color: #000000"> </span><span style="color: #000000">0</span><span style="color: #000000">;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" />       </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">boolean</span><span style="color: #000000"> hasNext() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_898_928_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_898_928_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" />           </span><span style="color: #0000ff">return</span><span style="color: #000000"> count </span><span style="color: #000000"><</span><span style="color: #000000"> size;<br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />       }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" /><br /> <img id="Codehighlighter1_950_980_Open_Image" onclick="this.style.display='none'; Codehighlighter1_950_980_Open_Text.style.display='none'; Codehighlighter1_950_980_Closed_Image.style.display='inline'; Codehighlighter1_950_980_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_950_980_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_950_980_Closed_Text.style.display='none'; Codehighlighter1_950_980_Open_Image.style.display='inline'; Codehighlighter1_950_980_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" />      </span><span style="color: #0000ff">public</span><span style="color: #000000"> E next() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_950_980_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_950_980_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" />           </span><span style="color: #0000ff">return</span><span style="color: #000000"> get(count</span><span style="color: #000000">++</span><span style="color: #000000">);<br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" />       }</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" /><br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" />       @Override<br /> <img id="Codehighlighter1_1020_1064_Open_Image" onclick="this.style.display='none'; Codehighlighter1_1020_1064_Open_Text.style.display='none'; Codehighlighter1_1020_1064_Closed_Image.style.display='inline'; Codehighlighter1_1020_1064_Closed_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" /><img style="display: none" id="Codehighlighter1_1020_1064_Closed_Image" onclick="this.style.display='none'; Codehighlighter1_1020_1064_Closed_Text.style.display='none'; Codehighlighter1_1020_1064_Open_Image.style.display='inline'; Codehighlighter1_1020_1064_Open_Text.style.display='inline';" alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ContractedSubBlock.gif" />      </span><span style="color: #0000ff">public</span><span style="color: #000000"> </span><span style="color: #0000ff">void</span><span style="color: #000000"> remove() </span><span style="border-bottom: #808080 1px solid; border-left: #808080 1px solid; background-color: #ffffff; display: none; border-top: #808080 1px solid; border-right: #808080 1px solid" id="Codehighlighter1_1020_1064_Closed_Text"><img alt="" src="http://www.aygfsteel.com/Images/dot.gif" /></span><span id="Codehighlighter1_1020_1064_Open_Text"><span style="color: #000000">{<br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/InBlock.gif" />           </span><span style="color: #008000">//</span><span style="color: #008000"> TODO Auto-generated method stub</span><span style="color: #008000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" /></span><span style="color: #000000">       }</span></span><span style="color: #000000"><br /> </span><br />       }<br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockEnd.gif" />}</span></span><span style="color: #000000"><br /> <img alt="" align="top" src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" /></span></div> </span> <img src ="http://www.aygfsteel.com/oldboy/aggbug/189238.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/oldboy/" target="_blank">OldBoy</a> 2008-03-28 12:29 <a href="http://www.aygfsteel.com/oldboy/articles/189238.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">通榆县</a>| <a href="http://" target="_blank">墨竹工卡县</a>| <a href="http://" target="_blank">甘洛县</a>| <a href="http://" target="_blank">清水县</a>| <a href="http://" target="_blank">龙门县</a>| <a href="http://" target="_blank">宁乡县</a>| <a href="http://" target="_blank">北流市</a>| <a href="http://" target="_blank">霍州市</a>| <a href="http://" target="_blank">化隆</a>| <a href="http://" target="_blank">习水县</a>| <a href="http://" target="_blank">金乡县</a>| <a href="http://" target="_blank">玛多县</a>| <a href="http://" target="_blank">五原县</a>| <a href="http://" target="_blank">扶余县</a>| <a href="http://" target="_blank">安阳县</a>| <a href="http://" target="_blank">连城县</a>| <a href="http://" target="_blank">蓝山县</a>| <a href="http://" target="_blank">日喀则市</a>| <a href="http://" target="_blank">家居</a>| <a href="http://" target="_blank">英吉沙县</a>| <a href="http://" target="_blank">克山县</a>| <a href="http://" target="_blank">淄博市</a>| <a href="http://" target="_blank">宝丰县</a>| <a href="http://" target="_blank">泗洪县</a>| <a href="http://" target="_blank">辽中县</a>| <a href="http://" target="_blank">清徐县</a>| <a href="http://" target="_blank">三穗县</a>| <a href="http://" target="_blank">樟树市</a>| <a href="http://" target="_blank">平凉市</a>| <a href="http://" target="_blank">宝兴县</a>| <a href="http://" target="_blank">呼玛县</a>| <a href="http://" target="_blank">夏河县</a>| <a href="http://" target="_blank">梁山县</a>| <a href="http://" target="_blank">托里县</a>| <a href="http://" target="_blank">巢湖市</a>| <a href="http://" target="_blank">汉源县</a>| <a href="http://" target="_blank">永川市</a>| <a href="http://" target="_blank">仪征市</a>| <a href="http://" target="_blank">开化县</a>| <a href="http://" target="_blank">清新县</a>| <a href="http://" 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>