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

          2006年9月21日

          posted @ 2010-11-22 05:53 Ardor Leo 閱讀(2297) | 評論 (0)編輯 收藏

               摘要: 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)編輯 收藏

          主站蜘蛛池模板: 萍乡市| 云安县| 旺苍县| 聂拉木县| 个旧市| 耒阳市| 正宁县| 马公市| 桃园县| 浪卡子县| 叙永县| 确山县| 新巴尔虎左旗| 武威市| 高要市| 平遥县| 和政县| 霞浦县| 通道| 三明市| 红桥区| 旌德县| 田东县| 宽城| 开化县| 巴林右旗| 南召县| 合作市| 衡水市| 海兴县| 泰安市| 安龙县| 湟中县| 银川市| 阳城县| 同仁县| 简阳市| 平阴县| 绥棱县| 吴桥县| 渭南市|