| Author |
what should be prefferd in usage Arrays or ArrayCollection in Flex
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2231
|
|
Hi
All the definations i could see is that "The ArrayCollection class is a wrapper class that exposes an Array as a collection"
what should be prefferd Arrays or ArrayCollection in Flex ??and also please tell me when one should be used ??
Thanks in advance .
|
Save India From Corruption - Anna Hazare.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Whichever suits your purpose. ArrayCollections can be bound, arrays cannot. They also implement interfaces arrays do not. If you read a sentence or so on in the help files from where you got that quote you'll see a link to Using Data Providers and Collections. Have a read of that and you should be able to make a choice.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2231
|
|
Paul what you said is absolutely fine .
But my basic query or the question i wanted to ask is that
For example basically we will be going for a HashMap in case of Name Value pairs and HashSet in case of a single value , so are there any such data types related to Flex ??
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Nope.
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2231
|
|
|
Thank you very much .
|
 |
 |
|
|
subject: what should be prefferd in usage Arrays or ArrayCollection in Flex
|
|
|