Fork me on GitHub

泛型类

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 @ 2015-10-11 11:04  ZZZZW  阅读(165)  评论(0编辑  收藏  举报
AmazingCounters.com