??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美日韩国产一区,香蕉精品久久,领导边摸边吃奶边做爽在线观看 http://www.aygfsteel.com/raylong1982/---独学而无友,则孤陋而寡?--zh-cnTue, 17 Jun 2025 09:02:33 GMTTue, 17 Jun 2025 09:02:33 GMT60重新开?/title><link>http://www.aygfsteel.com/raylong1982/archive/2008/03/13/185974.html</link><dc:creator>Raylong</dc:creator><author>Raylong</author><pubDate>Thu, 13 Mar 2008 03:37:00 GMT</pubDate><guid>http://www.aygfsteel.com/raylong1982/archive/2008/03/13/185974.html</guid><wfw:comment>http://www.aygfsteel.com/raylong1982/comments/185974.html</wfw:comment><comments>http://www.aygfsteel.com/raylong1982/archive/2008/03/13/185974.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.aygfsteel.com/raylong1982/comments/commentRss/185974.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/raylong1982/services/trackbacks/185974.html</trackback:ping><description><![CDATA[q个blog好久没有更新了,自从……之后?br /> <br /> 回忆q去的半q里Q每天写blog的那D|子就是我成长最快的时期?br /> <br /> g已经荒废得不成样子了……<br /> <br /> 我想重新开始!换另外一个空_q在BlogJava里,重新开始!<br /> <br /> <img src ="http://www.aygfsteel.com/raylong1982/aggbug/185974.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/raylong1982/" target="_blank">Raylong</a> 2008-03-13 11:37 <a href="http://www.aygfsteel.com/raylong1982/archive/2008/03/13/185974.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>有关Ҏq回一个很奇怪的问题 - 问题已解?/title><link>http://www.aygfsteel.com/raylong1982/archive/2007/11/01/157542.html</link><dc:creator>Raylong</dc:creator><author>Raylong</author><pubDate>Thu, 01 Nov 2007 09:12:00 GMT</pubDate><guid>http://www.aygfsteel.com/raylong1982/archive/2007/11/01/157542.html</guid><wfw:comment>http://www.aygfsteel.com/raylong1982/comments/157542.html</wfw:comment><comments>http://www.aygfsteel.com/raylong1982/archive/2007/11/01/157542.html#Feedback</comments><slash:comments>14</slash:comments><wfw:commentRss>http://www.aygfsteel.com/raylong1982/comments/commentRss/157542.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/raylong1982/services/trackbacks/157542.html</trackback:ping><description><![CDATA[早上看了javacd中java.util.Arrays cȝtoStringҎ的源代码。如下:Q这是JDK1.6的源代码Q?br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);">    </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String toString(</span><span style="color: rgb(0, 0, 255);">long</span><span style="color: rgb(0, 0, 0);">[] a) {<br />         </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (a </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br />             </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">null</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br />     </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> iMax </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> a.length </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">;<br />     </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (iMax </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">-</span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">)<br />             </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">[]</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /> <br />         StringBuilder b </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> StringBuilder();<br />         b.append(</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">[</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">);<br />         </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; ; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) {<br />             b.append(a[i]);<br />         </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (i </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> iMax)<br />         </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> b.append(</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">]</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">).toString();<br />             b.append(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br />         }<br />     }</span></div> <br /> for循环有点奇怪,中间的那个表辑ּ是空的。其实即使加上了条gQfor (int i = 0; i<=iMax ; i++) 和源E序是一个效果的Q纯_Ҏ多余的,但是我就是多余地加上了这条,l果~译出错了!提示我没有返回语句!<br /> <br /> 我又重新~写了两个小E序来验证一下:<br /> 下面q个能通过~译Q?br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> Test{<br />     </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String m(){<br />         </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> a </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">;<br />         </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; ; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)<br />             </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">(i</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">a</span><span style="color: rgb(0, 0, 0);">)<br />                 </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br />     }<br />     </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main (String[] args) {<br />         System.out.println (m());<br />     }<br /> }<br /> </span></div> for循环的中间语句是I的?br /> <br /> 下面q个׃能编译了Q?br /> <br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> Test{<br />     </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String m(){<br />         </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> a </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">;<br />         </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; i</span><span style="color: rgb(0, 0, 0);"><=</span><span style="color: rgb(0, 0, 0);">a ; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)<br />             </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">(i</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">a</span><span style="color: rgb(0, 0, 0);">)<br />                 </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br />     }<br />     </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main (String[] args) {<br />         System.out.println (m());<br />     }<br /> }</span></div> <br /> 其实加上的语句ƈ没有改变原来逻辑l构。这是ؓ什么呢Q?br /> <br /> 如果在for的外面加上一个return语句Q随便返回什么字W串Q又能通过~译了!Q!q个字符串永q不能输出的Q!Q根本就是个摆设Q!Q?br /> <br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> Test{<br />     </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String m(){<br />         </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> a </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">;<br />         </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; i</span><span style="color: rgb(0, 0, 0);"><=</span><span style="color: rgb(0, 0, 0);">a ; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)<br />             </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">(i</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">a)<br />                 </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br />         </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">never be touch!!!</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br />     }<br />     </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main (String[] args) {<br />         System.out.println (m());<br />     }<br /> }</span></div> <br /> <br /> 另外如果像下面这样在for的中间表辑ּ加上一个恒{式Q又能通过~译了!Q!q是Z么呢Q请高手指点Q?br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 255);">class</span><span style="color: rgb(0, 0, 0);"> Test{<br />     </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String m(){<br />         </span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> a </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">;<br />         </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">; </span><span style="color: rgb(0, 0, 255);">true</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 255);">true</span><span style="color: rgb(0, 0, 0);"> ; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">)<br />             </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);">(i</span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);">a</span><span style="color: rgb(0, 0, 0);">)<br />                 </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">10</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br />     }<br />     </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">void</span><span style="color: rgb(0, 0, 0);"> main (String[] args) {<br />         System.out.println (m());<br />     }<br /> }</span></div> <br /> <br /> 附:q是JDK1.5的源码,谢谢GrayWolf!<br /> 1.6的代码到底比1.5的改q在哪里呢?我觉?.5版的实现比较清晰Q可L好一炏V?br /> <div style="border: 1px solid rgb(204, 204, 204); padding: 4px 5px 4px 4px; background-color: rgb(238, 238, 238); font-size: 13px; width: 98%;"><!--<br /> <br /> Code highlighting produced by Actipro CodeHighlighter (freeware)<br /> http://www.CodeHighlighter.com/<br /> <br /> --><span style="color: rgb(0, 0, 0);">#  </span><span style="color: rgb(0, 0, 255);">public</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">static</span><span style="color: rgb(0, 0, 0);"> String toString(</span><span style="color: rgb(0, 0, 255);">long</span><span style="color: rgb(0, 0, 0);">[] a) {<br /> # </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (a </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">null</span><span style="color: rgb(0, 0, 0);">)<br /> # </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">null</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /> # </span><span style="color: rgb(0, 0, 255);">if</span><span style="color: rgb(0, 0, 0);"> (a.length </span><span style="color: rgb(0, 0, 0);">==</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">)<br /> # </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">[]</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">;<br /> #<br /> # StringBuilder buf </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">new</span><span style="color: rgb(0, 0, 0);"> StringBuilder();<br /> # buf.append(</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">[</span><span style="color: rgb(0, 0, 0);">'</span><span style="color: rgb(0, 0, 0);">);<br /> # buf.append(a[</span><span style="color: rgb(0, 0, 0);">0</span><span style="color: rgb(0, 0, 0);">]);<br /> #<br /> # </span><span style="color: rgb(0, 0, 255);">for</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(0, 0, 255);">int</span><span style="color: rgb(0, 0, 0);"> i </span><span style="color: rgb(0, 0, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 0);">1</span><span style="color: rgb(0, 0, 0);">; i </span><span style="color: rgb(0, 0, 0);"><</span><span style="color: rgb(0, 0, 0);"> a.length; i</span><span style="color: rgb(0, 0, 0);">++</span><span style="color: rgb(0, 0, 0);">) {<br /> # buf.append(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">, </span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /> # buf.append(a[i]);<br /> # }<br /> #<br /> # buf.append(</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">]</span><span style="color: rgb(0, 0, 0);">"</span><span style="color: rgb(0, 0, 0);">);<br /> # </span><span style="color: rgb(0, 0, 255);">return</span><span style="color: rgb(0, 0, 0);"> buf.toString();<br /> # } <br /> </span></div> <br /> <img src ="http://www.aygfsteel.com/raylong1982/aggbug/157542.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/raylong1982/" target="_blank">Raylong</a> 2007-11-01 17:12 <a href="http://www.aygfsteel.com/raylong1982/archive/2007/11/01/157542.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Java语法ȝ - Ҏhttp://www.aygfsteel.com/raylong1982/archive/2007/10/30/157020.htmlRaylongRaylongTue, 30 Oct 2007 10:49:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/30/157020.htmlhttp://www.aygfsteel.com/raylong1982/comments/157020.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/30/157020.html#Feedback8http://www.aygfsteel.com/raylong1982/comments/commentRss/157020.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/157020.html阅读全文

Raylong 2007-10-30 18:49 发表评论
]]>
07q第43周学习ȝhttp://www.aygfsteel.com/raylong1982/archive/2007/10/30/156821.htmlRaylongRaylongMon, 29 Oct 2007 23:24:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/30/156821.htmlhttp://www.aygfsteel.com/raylong1982/comments/156821.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/30/156821.html#Feedback6http://www.aygfsteel.com/raylong1982/comments/commentRss/156821.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/156821.html阅读全文

Raylong 2007-10-30 07:24 发表评论
]]>
Java语法ȝ - U程http://www.aygfsteel.com/raylong1982/archive/2007/10/25/155983.htmlRaylongRaylongThu, 25 Oct 2007 15:53:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/25/155983.htmlhttp://www.aygfsteel.com/raylong1982/comments/155983.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/25/155983.html#Feedback19http://www.aygfsteel.com/raylong1982/comments/commentRss/155983.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/155983.html
一提到U程好像是g很麻烦很复杂的事Q事实上实如此Q涉及到U程的编E是很讲I技巧的。这需要我们变换思维方式Q了解线E机制的比较通用的技巧,写出高效的、不依赖于某个JVM实现的程序来。毕竟仅仅就Java而言Q各个虚拟机的实现是不同的。学习线E时Q最令我印象深刻的就是U不定性、没有保障性,各个U程的运行完全是以不可预料的方式和速度推进Q有的一个程序运行了Nơ,其结果差异性很大?nbsp; 阅读全文

Raylong 2007-10-25 23:53 发表评论
]]>
Java语法ȝ - 内部c?/title><link>http://www.aygfsteel.com/raylong1982/archive/2007/10/24/155439.html</link><dc:creator>Raylong</dc:creator><author>Raylong</author><pubDate>Wed, 24 Oct 2007 00:03:00 GMT</pubDate><guid>http://www.aygfsteel.com/raylong1982/archive/2007/10/24/155439.html</guid><wfw:comment>http://www.aygfsteel.com/raylong1982/comments/155439.html</wfw:comment><comments>http://www.aygfsteel.com/raylong1982/archive/2007/10/24/155439.html#Feedback</comments><slash:comments>24</slash:comments><wfw:commentRss>http://www.aygfsteel.com/raylong1982/comments/commentRss/155439.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/raylong1982/services/trackbacks/155439.html</trackback:ping><description><![CDATA[     摘要: Java语法ȝ - 内部c?<br> <br>从Java1.1开始引入了内部cM来,它就引v了h们的Ȁ烈争论。其实Q何优U的语aҎ用得不好就是滥用,内部cȝ得不好就会导致代码像q宫一PD出现毫无重用的综合征?nbsp; <a href='http://www.aygfsteel.com/raylong1982/archive/2007/10/24/155439.html'>阅读全文</a><img src ="http://www.aygfsteel.com/raylong1982/aggbug/155439.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/raylong1982/" target="_blank">Raylong</a> 2007-10-24 08:03 <a href="http://www.aygfsteel.com/raylong1982/archive/2007/10/24/155439.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>07q第42周学习ȝhttp://www.aygfsteel.com/raylong1982/archive/2007/10/22/154821.htmlRaylongRaylongMon, 22 Oct 2007 00:52:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/22/154821.htmlhttp://www.aygfsteel.com/raylong1982/comments/154821.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/22/154821.html#Feedback0http://www.aygfsteel.com/raylong1982/comments/commentRss/154821.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/154821.html阅读全文

Raylong 2007-10-22 08:52 发表评论
]]>
Java语法ȝ - 异常http://www.aygfsteel.com/raylong1982/archive/2007/10/22/154817.htmlRaylongRaylongMon, 22 Oct 2007 00:18:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/22/154817.htmlhttp://www.aygfsteel.com/raylong1982/comments/154817.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/22/154817.html#Feedback12http://www.aygfsteel.com/raylong1982/comments/commentRss/154817.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/154817.html
Java提供了一U很好的机制Q用强制规定的Ş式来消除错误处理q程中随心所Ʋ的因素Q异常处理。它的优U之处在于不用~写Ҏ代码返回值就能很Ҏ地检错误。而且它让我们把异常处理代码明地与异生代码分开Q代码变得更有条理。异常处理也是Java中唯一正式的错误报告机制?nbsp; 阅读全文

Raylong 2007-10-22 08:18 发表评论
]]>
Java语法ȝ - 基本数据cdhttp://www.aygfsteel.com/raylong1982/archive/2007/10/21/154683.htmlRaylongRaylongSun, 21 Oct 2007 05:14:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/21/154683.htmlhttp://www.aygfsteel.com/raylong1982/comments/154683.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/21/154683.html#Feedback2http://www.aygfsteel.com/raylong1982/comments/commentRss/154683.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/154683.html阅读全文

Raylong 2007-10-21 13:14 发表评论
]]>
Java语法ȝ - 数组http://www.aygfsteel.com/raylong1982/archive/2007/10/21/154676.htmlRaylongRaylongSun, 21 Oct 2007 05:01:00 GMThttp://www.aygfsteel.com/raylong1982/archive/2007/10/21/154676.htmlhttp://www.aygfsteel.com/raylong1982/comments/154676.htmlhttp://www.aygfsteel.com/raylong1982/archive/2007/10/21/154676.html#Feedback3http://www.aygfsteel.com/raylong1982/comments/commentRss/154676.htmlhttp://www.aygfsteel.com/raylong1982/services/trackbacks/154676.html
数组QarrayQ是相同cd变量的集合,可以使用共同的名字引用它。数l可被定义ؓMcdQ可以是一l或多维。数l中的一个特别要素是通过下标来访问它。数l提供了一U将有联pȝ信息分组的便利方法。注意:如果你熟悉C/C++Q请注意Q?Java数组的工作原理与它们不同?nbsp; 阅读全文

Raylong 2007-10-21 13:01 发表评论
]]>
վ֩ģ壺 | Т| | | | | | | ͩ| | | | | ԰| | | | ͨɽ| | ͼľ| ̩| | â| ƽɽ| Ȫ| ӽ| | | | | | | | | | | Ͽ| | ¡| | |