ArraySet#reset()

reset() Removes all the items. Source code: utils/ArraySet.js (Line 108)

ArraySet#removeAll()

removeAll(destroy) Removes every member from this ArraySet and optionally destroys it. Parameters Name Type Argument Default Description destroy boolean <optional> false Call destroy on each member as it's removed from this set. Source code: utils/ArraySet.js (Line 185)

ArraySet#remove()

remove(item) → {any} Removes the given element from this list if it exists. Parameters Name Type Description item any The item to be removed from the list. Returns any - item - The item that was removed. Source code: utils/ArraySet.js (Line 119)

ArraySet#position

position : integer Current cursor position as established by first and next. Source code: utils/ArraySet.js (Line 26)

ArraySet#next

next :any Returns the the next item (based on the cursor) and advances the cursor. Source code: utils/ArraySet.js (Line 256)

ArraySet#list

list : Array.<any> The backing array. Type Array.<any> Source code: utils/ArraySet.js (Line 32)

ArraySet#getIndex()

getIndex(item) → {integer} Gets the index of the item in the list, or -1 if it isn't in the list. Parameters Name Type Description item any The element to get the list index for. Returns integer - The index of the item or -1 if not found. Source code: utils/ArraySet.js (Line 57)

ArraySet#getByKey()

getByKey(property, value) → {any} Gets an item from the set based on the property strictly equaling the value given.Returns null if not found. Parameters Name Type Description property string The property to check against the value. value any The value to check if the property strictly equals. Returns any - The item that was found, or null if nothing matched. Source code: utils/ArraySet.js (Line 70)

ArraySet#first

first :any Returns the first item and resets the cursor to the start. Source code: utils/ArraySet.js (Line 231)

ArraySet#exists()

exists(item) → {boolean} Checks for the item within this list. Parameters Name Type Description item any The element to get the list index for. Returns boolean - True if the item is found in the list, otherwise false. Source code: utils/ArraySet.js (Line 95)