摘要: 用泛型代替非泛型,提高效率。今天测试了一下使用泛型和非泛型的效率问题,结果一目了然。例子代码如下:public class Test{static int collectionCount = 0; static Stopwatch watch = null; static... 阅读全文
posted @ 2015-09-01 11:48 明&天 阅读(313) 评论(1) 推荐(0) 编辑