A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Does Modifying an Array immedtely reflects in a ArrayCollection
Ravi Kiran Va
Joined: Apr 18, 2009
Apr 29, 2010 00:29:24
As ArrayCollection is a wrapper that exposes an Array.
If we modify the ArrayCollection the content of the Array is also modified instantly is viceversa is also the same ??
Means the question is if we modify the Array , will that immediately reflect the ArrayCollection ??(Assume we used ArrayCollection.refresh())??
Thanks in advance .
Save India From Corruption - Anna Hazare.
Joined: Apr 14, 2004
Apr 29, 2010 02:25:42
Array.refresh() applies any sorting an filtering - its also a method of the Array class, not the ArrayCollection class.
Just use the wrapper class and don;t expose the arry then you don't have to worry about keeping things in sync.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Does Modifying an Array immedtely reflects in a ArrayCollection
Is there No need to Import packages when working with Classes in Flex ??
Difference between Array and ArrayCollection ?
Typecasting arraycollection to arraylist in FlexBuilder 3
what should be prefferd in usage Arrays or ArrayCollection in Flex
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013