posted @ 2010-11-22 05:53 Ardor Leo 閱讀(2298) | 評論 (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(), 閱讀全文
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
posted @ 2006-09-21 05:05 Ardor Leo 閱讀(1906) | 評論 (2) | 編輯 收藏
posted @ 2006-08-08 15:37 Ardor Leo 閱讀(1786) | 評論 (7) | 編輯 收藏
摘要: 這是最近自己寫的一個校驗如“2006-07-13 00:00:00”形式日期的javascript代碼。考慮到了數字驗證、閏年、2月,30天31天,小時,分,秒的檢驗。思路稍偏,記一下 閱讀全文
posted @ 2006-07-13 06:52 Ardor Leo 閱讀(504) | 評論 (0) | 編輯 收藏
摘要: 一段對話,關于Ajax和編碼 閱讀全文
posted @ 2006-06-20 05:38 Ardor Leo 閱讀(1525) | 評論 (2) | 編輯 收藏