Array 和 ArrayCollection(Flex) 的区别 [英] Difference between Array and ArrayCollection(Flex)

查看:27
本文介绍了Array 和 ArrayCollection(Flex) 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

数组和数组集合有什么区别?

What's the difference between array and arraycollection?

推荐答案

首先,ArrayCollection 是为 Flex 框架设计的.对于给定的 Array 实例,它就像一个 Proxy.这意味着它可以侦听对源 Array 所做的修改,并在发生这种情况时自行更新.它还包含框架特别需要的附加方法的子集(查看 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).

这篇关于Array 和 ArrayCollection(Flex) 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆