getIndex(item) → {integer} Gets the index of the item in the list, or -1 if it isn't in the list
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
first :any Returns the first item and resets the cursor to the start. Source
remove(item) → {any} Removes the given element from this list if it exists. Parameters
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
position : integer Current cursor position as established by first and next.
reset() Removes all the items. Source code:
new ArraySet(list) ArraySet is a Set data structure (items must be unique within the set) that also maintains
Page 1 of 2