Colorful Life2010

日归档: 2007年07月06日 | 记录数: 1
Picking the Right Collection
Weather:多云 ,南风 3-4级 ,21~29 ℃

Numerous collections exist and at first glance some seem just as good as others, but you need to carefully
consider the use of the collection to ensure optimal performance. The following list describes the
collections and what their best uses are:
❑ The ArrayList dynamically resizes as items are added and is best used to store custom object
types when the data changes frequently—for example, when you are performing frequent...