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

          2006年9月21日

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

          主站蜘蛛池模板: 郧西县| 达尔| 高阳县| 永顺县| 韶山市| 乐都县| 尚志市| 洛阳市| 宜宾县| 车致| 新源县| 马公市| 敦化市| 灵璧县| 抚州市| 大同县| 新营市| 长寿区| 河池市| 伊春市| 七台河市| 哈巴河县| 江北区| 黑河市| 瓮安县| 白玉县| 万荣县| 梁河县| 林口县| 遂溪县| 安国市| 鄂托克前旗| 韶关市| 历史| 突泉县| 邵东县| 乐陵市| 无棣县| 绩溪县| 灌云县| 孙吴县|