first :any Returns the first item and resets the cursor to the start. Source
setAll(key, value) Sets the property key to the given value on all members of this list. Parameters
add(item) → {any} Adds a new element to the end of the list.If the item already exists in
getIndex(item) → {integer} Gets the index of the item in the list, or -1 if it isn't in the list
callAll(key, parameter) Calls a function on all members of this list, using the member as the context for the callback. If the
next :any Returns the the next item (based on the cursor) and advances the cursor. Source
remove(item) → {any} Removes the given element from this list if it exists. Parameters
reset() Removes all the items. Source code:
position : integer Current cursor position as established by first and next.
new ArraySet(list) ArraySet is a Set data structure (items must be unique within the set) that also maintains
Page 1 of 2