xcodeabc

  • Home
  • Archive
7/13/2011
Albert 7:33:00 PM 0

Java Generic

  • Generic Methods
  • Bounded Type Parameters
  • Wildcards
  • Type Erasure
Reference

http://download.oracle.com/javase/tutorial/java/generics/index.html
http://download.oracle.com/javase/tutorial/extra/generics/index.html

http://jjhou.boolan.com/programmer-5-generic-java.htm
http://www.lifeparty.idv.tw/blog/archives/2328
Read more
Java
0 comments
Email ThisBlogThis!Share to XShare to Facebook
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Search This Blog

View Posts By Topic

  • .NET (12)
  • CSS (1)
  • Design Pattern (5)
  • Java (26)
  • JavaScript (13)
  • Other (8)
  • Python (2)
  • Security (3)
  • SQL Server (1)

Blog Archive

  • ►  2014 (24)
    • ►  November (1)
    • ►  August (2)
    • ►  June (2)
    • ►  May (2)
    • ►  April (1)
    • ►  March (7)
    • ►  February (5)
    • ►  January (4)
  • ►  2013 (30)
    • ►  December (5)
    • ►  November (2)
    • ►  October (6)
    • ►  September (2)
    • ►  August (4)
    • ►  July (8)
    • ►  June (3)
  • ▼  2011 (2)
    • ►  November (1)
    • ▼  July (1)
      • Java Generic
  • ►  2010 (5)
    • ►  February (5)

My Bookmarks

  • Java theory and practice: Managing volatility
  • Fiddler Web Debugger
  • Postman - REST Client
  • 30天快速上手TDD
  • 30 天精通 Git 版本控管
  • CAP theorem

Popular Posts

  • Send JMS Message Using ActiveMQ
    library : activemq-core-5.3.0.jar/commons-logging-1.1.jar/j2ee library import javax.jms.Connection; import javax.jms.ConnectionFactory; imp...
  • PLSQL Developer & SQL Navigator password 備份
    PLSQL Developer 儲存的 password 預設存在 C:\Users\[username]\AppData\Roaming\PLSQL Developer\Preferences\[username]\user.prefs 或安裝目錄下的 \PLSQL Deve...
  • Java Type Erasure
    Java 的泛型其實是在編譯器上做了手腳,Java 在編譯時期由編譯器幫我們做了型別轉換的檢查,當 compile 成 bytecode 後,我們使用工具觀察,可以發現我們在程式中所使用的泛型全都不見了,也因此程式在 run time 時是看不到泛型的影子,這種泛型的實現方式稱作...
  • Variable-length Argument in Java, C#, Python
    Java public int sum(int... nums) { //nums.getClass().getTypeName() -> int[] int total = 0; for (int num : nums ) ...
  • 使用 NHibernate 記得要把 Section Close
    最近所維護系統的使用者有越來越多,DataBase 的負擔也越來越重,也因此程式從 SQL Server 取得資料常有 Timeout 的情形,檢查 SQL Server 的 Connection List,赫然發現一支使用 NHibernate 的 UI,程式一啟動就建立了 7...

Subscribe To

Posts
Atom
Posts
All Comments
Atom
All Comments
 
Copyright © 2012 xcodeabc | Powered by Blogger
Design by MKR site | Published by - IVY Themes