摘要: 前言:他山之石,可以攻玉 (0) toArray(T[] a) 复制集合(的数组元素)到a数组中 @SuppressWarnings("unchecked") public <T> T[] toArray(T[] a) { //T是Generic Type,即泛型 if (a.length < si 阅读全文
posted @ 2017-11-11 18:49 Don1911 阅读(173) 评论(0) 推荐(0)