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

          2006年8月9日

          posted @ 2010-11-22 05:53 Ardor Leo 閱讀(2303) | 評論 (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 閱讀(1911) | 評論 (2)編輯 收藏

          posted @ 2006-08-08 15:37 Ardor Leo 閱讀(1796) | 評論 (7)編輯 收藏

          主站蜘蛛池模板: 马公市| 临颍县| 阿合奇县| 仪征市| 吉首市| 滨海县| 衡山县| 通海县| 巨鹿县| 嘉义市| 尼勒克县| 金秀| 德钦县| 台江县| 武鸣县| 怀集县| 丽江市| 封丘县| 肇庆市| 肇东市| 同江市| 哈密市| 翁源县| 泗水县| 江山市| 漳州市| 白沙| 油尖旺区| 海阳市| 玛曲县| 札达县| 扎兰屯市| 遵义县| 论坛| 横峰县| 卢氏县| 仁化县| 兴宁市| 保靖县| 虞城县| 郯城县|