posts - 75,comments - 83,trackbacks - 0
          posted @ 2014-03-13 15:09 梓楓 閱讀(1281) | 評論 (0)編輯 收藏
          posted @ 2014-03-13 14:26 梓楓 閱讀(210) | 評論 (0)編輯 收藏
          posted @ 2014-03-04 15:45 梓楓 閱讀(213) | 評論 (0)編輯 收藏
               摘要: window2003自動備份mysql數據庫腳本  閱讀全文
          posted @ 2012-06-27 17:35 梓楓 閱讀(547) | 評論 (0)編輯 收藏
          posted @ 2012-05-11 11:48 梓楓 閱讀(277) | 評論 (0)編輯 收藏
               摘要: fckeditor 更改圖片上傳路徑為絕對路徑  閱讀全文
          posted @ 2011-06-29 10:19 梓楓 閱讀(1683) | 評論 (6)編輯 收藏
               摘要: axis1.4學習示例  閱讀全文
          posted @ 2011-05-25 11:53 梓楓 閱讀(941) | 評論 (0)編輯 收藏
               摘要: [#0x003D] org.apache.cxf.interceptor.Fault: Could not send Message  閱讀全文
          posted @ 2011-05-19 14:46 梓楓 閱讀(4877) | 評論 (4)編輯 收藏
               摘要: CXF與xercesImpl.jar包的沖突  閱讀全文
          posted @ 2011-05-18 17:51 梓楓 閱讀(2302) | 評論 (2)編輯 收藏
          posted @ 2011-05-18 14:13 梓楓 閱讀(1142) | 評論 (1)編輯 收藏
          posted @ 2011-03-30 17:24 梓楓 閱讀(257) | 評論 (0)編輯 收藏
          posted @ 2011-03-30 17:22 梓楓 閱讀(383) | 評論 (0)編輯 收藏
               摘要: oracle 用update一次更新多個子查詢查出的字段的值  閱讀全文
          posted @ 2011-03-16 17:23 梓楓 閱讀(2147) | 評論 (0)編輯 收藏
               摘要: JS實現刷新iframe的方法  閱讀全文
          posted @ 2010-10-26 15:07 梓楓 閱讀(303) | 評論 (0)編輯 收藏
          posted @ 2010-08-24 10:30 梓楓 閱讀(1647) | 評論 (0)編輯 收藏
          posted @ 2010-07-23 09:39 梓楓 閱讀(666) | 評論 (0)編輯 收藏
          posted @ 2010-07-17 14:41 梓楓 閱讀(818) | 評論 (0)編輯 收藏
               摘要: oracle中rownum作用及用法  閱讀全文
          posted @ 2010-06-24 20:15 梓楓 閱讀(277) | 評論 (0)編輯 收藏
          posted @ 2010-05-26 10:52 梓楓 閱讀(429) | 評論 (0)編輯 收藏
          posted @ 2010-03-18 10:30 梓楓 閱讀(792) | 評論 (0)編輯 收藏
          posted @ 2009-12-24 13:12 梓楓 閱讀(2994) | 評論 (0)編輯 收藏
          posted @ 2009-12-08 14:20 梓楓 閱讀(237) | 評論 (0)編輯 收藏
          posted @ 2009-11-03 10:58 梓楓 閱讀(918) | 評論 (0)編輯 收藏
          posted @ 2009-09-10 13:17 梓楓 閱讀(346) | 評論 (0)編輯 收藏
          posted @ 2009-03-16 22:19 梓楓 閱讀(438) | 評論 (1)編輯 收藏
          posted @ 2009-03-02 22:00 梓楓 閱讀(236) | 評論 (1)編輯 收藏
               摘要: lucene查詢一個簡單的例子  閱讀全文
          posted @ 2008-12-12 15:48 梓楓 閱讀(1745) | 評論 (2)編輯 收藏
               摘要: spring各種郵件發送代碼  閱讀全文
          posted @ 2008-12-08 10:32 梓楓 閱讀(5885) | 評論 (3)編輯 收藏
          posted @ 2008-10-28 11:36 梓楓 閱讀(3498) | 評論 (4)編輯 收藏
          posted @ 2008-10-10 11:33 梓楓 閱讀(283) | 評論 (1)編輯 收藏
          posted @ 2008-10-07 11:16 梓楓 閱讀(1186) | 評論 (0)編輯 收藏
          posted @ 2008-09-22 10:17 梓楓 閱讀(2432) | 評論 (2)編輯 收藏
          posted @ 2008-09-17 12:10 梓楓 閱讀(317) | 評論 (0)編輯 收藏
          posted @ 2008-09-16 11:54 梓楓 閱讀(1502) | 評論 (0)編輯 收藏
          posted @ 2008-08-21 10:55 梓楓 閱讀(2411) | 評論 (3)編輯 收藏
          posted @ 2008-08-13 11:48 梓楓 閱讀(1521) | 評論 (1)編輯 收藏
          posted @ 2008-08-11 11:23 梓楓 閱讀(239) | 評論 (0)編輯 收藏
               摘要:

          一 泛型簡介
          二 泛型基礎
          三 一個簡單的泛型類
          四 Java類庫中的泛型  閱讀全文
          posted @ 2008-08-11 11:11 梓楓 閱讀(347) | 評論 (0)編輯 收藏
          posted @ 2008-08-06 11:32 梓楓 閱讀(344) | 評論 (0)編輯 收藏
          posted @ 2008-07-29 16:32 梓楓 閱讀(2152) | 評論 (0)編輯 收藏
               摘要: 創建一個可變長度的參數列表

          可變參數使得你可以指定某方法來接受多個同一類型的參數,而且并不要求事先確定參數的數量(在編譯或運行時)。
          這就是Tiger的一個集成部分。事實上,正是因為Java語言的一些新特性組合在一起才表現出了可變參數的特性。

          我如何去實現呢?
          首先,你要習慣的書寫省略號(。。。)。這三個小點是可變參數的關鍵,你將會經常鍵入它們。下面是Guitar類的構造器使用可變參數來接受不確定數量字符串的一個例子:


          public Guitar(String builder, String model, String...features);.......................
            閱讀全文
          posted @ 2008-07-25 16:57 梓楓 閱讀(208) | 評論 (0)編輯 收藏
          posted @ 2008-07-25 10:12 梓楓 閱讀(412) | 評論 (0)編輯 收藏
          posted @ 2008-07-23 22:18 梓楓 閱讀(666) | 評論 (0)編輯 收藏
          posted @ 2008-07-22 16:31 梓楓 閱讀(3561) | 評論 (5)編輯 收藏
          posted @ 2008-07-22 11:36 梓楓 閱讀(305) | 評論 (0)編輯 收藏
               摘要: 增強的for循環
             為了迭代集合和數組,增強的for循環提供了一個簡單、兼容的語法。有兩點值得一提:   Init表達式

            在循環中,初始化表達式只計算一次。這意味著您通常可以移除一個變量聲明。在這個例子中,我們必須創建一個整型數組來保存computeNumbers()的結果,以防止每一次循環都重新計算該方法。您可以看到,下面的代碼要比上面的代碼整潔一些,并且沒有泄露變量numbers:

            未增強的For:  int sum = 0;  Integer[] numbers = computeNumbers();  for (int i=0; i < numbers.length ; i++) sum += numbers[i];   增強后的For:    int sum = 0;  for ( int number: computeNumbers() ) sum += number;......
            閱讀全文
          posted @ 2008-07-21 23:01 梓楓 閱讀(258) | 評論 (0)編輯 收藏
          posted @ 2008-07-21 14:09 梓楓 閱讀(2290) | 評論 (1)編輯 收藏
          posted @ 2008-07-20 22:14 梓楓 閱讀(3392) | 評論 (2)編輯 收藏
          posted @ 2008-07-16 10:38 梓楓 閱讀(2489) | 評論 (1)編輯 收藏
          posted @ 2008-07-14 15:42 梓楓 閱讀(749) | 評論 (0)編輯 收藏
          主站蜘蛛池模板: 报价| 长兴县| 民勤县| 汤原县| 秦皇岛市| 宿州市| 汪清县| 南京市| 利川市| 太康县| 南华县| 田东县| 炉霍县| 武冈市| 夹江县| 黑水县| 罗源县| 湾仔区| 蒙山县| 广宗县| 铜川市| 微山县| 和静县| 陆丰市| 准格尔旗| 洛宁县| 图木舒克市| 大洼县| 大连市| 宁阳县| 临桂县| 卢龙县| 临清市| 日土县| 旌德县| 荥经县| 康乐县| 当阳市| 和林格尔县| 株洲县| 宜兴市|