Fork me on GitHub

泛型类

1
2
3
4
5
6
7
List<Object> List<String>
List<String> Is=new ArrayList<String>();
List<Object> Io=Is; //this is the incorrect usage,destroy the integrity of the date
 
public void write(Integer i,Integer[] ia);
public void write(Double d,Double[] da);
public<T> void write(T t,T[] ta);

  

posted @   ZZZZW  阅读(166)  评论(0编辑  收藏  举报
AmazingCounters.com
点击右上角即可分享
微信分享提示