Skip navigation

DSpace JSPUI

DSpace preserves and enables easy and open access to all types of digital content including text, images, moving images, mpegs and data sets

Learn More
DSpace logo
English
中文
  • Browse
    • Communities
      & Collections
    • Publication Year
    • Author
    • Title
    • Subject
  • Search TDR
  • Rights Q&A
    • My Page
    • Receive email
      updates
    • Edit Profile
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
Please use this identifier to cite or link to this item: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/40736
Title: 考量參數化型別參數之JAVA函式重載機制
A Java Method Overloading Mechanism For Parameterized Type Parameters
Authors: Tsung-Han Hsien
謝宗翰
Advisor: 陳俊良
Keyword: 泛型,型別化參數,函式重載,
Generic,Parameterized Type Parameters,method overloading,
Publication Year : 2008
Degree: 碩士
Abstract: Java在Java5.0版加入了泛型的機制,為了顧及新舊Java語言版本的相容性與新舊程式碼交互使用,Sun採用了型別擦拭法去實現泛型機制。然而使用擦拭法去實現泛型所產生的最大問題是執行期間與泛型的相關的型別資訊將會遺失,這問題讓函式重載無法在使用泛型型別參數的函式使用,因此我們對函式重載的問題提出了可行的解法,並且實現在Java6.0上。
Java 5.0 added many new features, including parametric polymorphism
(genericity). In order for compatibility, Java adopted the type erasure to
achieve the generic mechanism, however run-time type information will be lost after type erasure. This causes that method overloading doesn’t work for methods with generic type parameters. In this thesis, we try to solve this problem.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/40736
Fulltext Rights: 有償授權
Appears in Collections:資訊工程學系

Files in This Item:
File SizeFormat 
ntu-97-1.pdf
  Restricted Access
1.08 MBAdobe PDF
Show full item record


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved