The key by which to check uniqueness against. undefined if no uniqueness constraint is set.
Protected_Protected_Protectedinternal remove function, to remove an item from the collection, does not raise an event.
returns the index of the removed item or -1 if the item has not been found.
Adds an item to the collection.
the item to be inserted
the index at which the item was inserted
clears the array
Destroys the collection, clearing the array and all its events
Returns an item identified by the unique constraint key. Returns null, if there is no uniqueness constraint.
the value to test against. does a shallow comparison, if the passed a non-atomic value
Returns true, if the key exists. Returns undefined, if there is no uniqueness constraint.
StaticfromCreates a Collection from an iterable, such as an Array.
A generic array based collection. Implements the Symbol.iterator (e.g. [...collection])