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 閱讀(1911) | 評論 (2)  編輯 |

          主站蜘蛛池模板: 上林县| 左权县| 沛县| 饶河县| 山阴县| 普兰县| 信丰县| 高雄县| 顺昌县| 罗平县| 北宁市| 应城市| 太白县| 沐川县| 天峻县| 阳新县| 南部县| 双桥区| 延安市| 稻城县| 漳浦县| 曲沃县| 东乌珠穆沁旗| 镇康县| 盐亭县| 洞口县| 涿鹿县| 聂荣县| 衢州市| 凤庆县| 林西县| 大理市| 普兰店市| 剑阁县| 太保市| 河北区| 扎赉特旗| 耒阳市| 平远县| 德保县| 大埔区|