摘要:
ArrayList & List (1) 里讲到: ArrayList底层用的数据对象就是一组Object的Array,提供了一个List功能的接口. ArrayList.InsertRange(int index, ICollection c) 和 List.InsertRange(int index, IEnumerable collection) 方法参数类型的改变和实现方式.
这篇继续探讨同步的List和ArrayList搞笑的GetRange()方法 阅读全文
摘要:
ArrayList底层用的数据对象就是一组Object的 Array,提供了一个List功能的接口.
ArrayList.InsertRange(int index, ICollection c) 和 List.InsertRange(int index, IEnumerable collection) 方法参数了类型的改变和实现方式 阅读全文