Skip to content
fahimc edited this page Mar 14, 2013 · 1 revision

reverse(): this will reverse the items in the collection
iterator(): returns a new instance of an ArrayIterator. You can use this to iterate the items in the collection
find(prop, value): you can find an item in the collection by providing a property name and the value that you are searching for.
addItem(value): add an item to the collection.
addItemAt(value, index): add an item at a position in the collection.
getItemAt(index): get an item at a particular position.
removeItem(prop, value): remove an item which equals to the value and property name that you've specified.
removeItemAt(index): remove an item at a particular position.
**length()**returns the length of the collection.

Clone this wiki locally