posts - 7, comments - 17, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          09 2006 檔案

               摘要: 4.1. Generic Types
          Generic types and methods are the defining new feature of Java 5.0. A generic type is defined using one or more type variables and has one or more methods that use a type variable as a placeholder for an argument or return type. For example, the type java.util.List is a generic type: a list that holds elements of some type represented by the placeholder E. This type has a method named add(), declared to take an argument of type E, and a method named get(),  閱讀全文

          posted @ 2006-09-21 05:05 Ardor Leo 閱讀(1905) | 評論 (2)  編輯 |

          主站蜘蛛池模板: 克东县| 株洲县| 浮山县| 洪雅县| 科技| 射阳县| 库尔勒市| 黄浦区| 定安县| 璧山县| 收藏| 乌兰浩特市| 通渭县| 徐水县| 甘德县| 湘乡市| 淮安市| 靖边县| 吉水县| 渭源县| 宜黄县| 清新县| 女性| 额济纳旗| 离岛区| 凌源市| 新兴县| 鲁甸县| 阿拉善左旗| 沽源县| 柯坪县| 大同县| 溧水县| 治县。| 涟源市| 天门市| 湖口县| 渭源县| 成都市| 双牌县| 孟津县|