IntelliJ Java IDE
The moose likes Flex and the fly likes what should be prefferd  in usage Arrays or ArrayCollection in Flex Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Flex
Reply Bookmark "what should be prefferd  in usage Arrays or ArrayCollection in Flex " Watch "what should be prefferd  in usage Arrays or ArrayCollection in Flex " New topic
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 .
 
IntelliJ Java IDE
 
subject: what should be prefferd in usage Arrays or ArrayCollection in Flex
 
Threads others viewed
Difference between Array and ArrayCollection ?
obtaining drawing coordinants from an array
Pass ArrayCollection from Flex to Java
Extracting values from an ArrayList into String variables
flex arraylist
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture