什么是数组和ArrayCollection的区别呢?
What's the difference between array and arraycollection?
首先,ArrayCollection的是专为Flex框架。它就像一个代理
对于给定的阵列
实例。这意味着它可以监听到源阵列
进行修改和更新自我,当这种情况发生。它也包含了框架特别需要其他方法的一个子集(看看在的IList 实现实例)。
First, the ArrayCollection is designed for the Flex framework. It acts like a Proxy
for a given Array
instance. This means it can listen for modifications made to the source Array
and update it self when this happens. It also contains a subset of additional methods required specifically by the framework (have a look at the IList implementation for instance).