The type of entities in the collection.
Represents an array of entity IDs.
Checks if a value is empty or not.
Represents an array of IEntityAdapter objects.
Represents the last index of an array or string.
Clears the data of the object.
Filters an array of IEntityAdapter
The predicate function used to test each IEntityAdapter
Finds the first element in the IEntityAdapter array that satisfies the provided testing function.
The testing function that determines whether the element is found or not.
It should accept two parameters: value (IEntityAdapter
Finds an entity by its ID.
The ID of the entity to find.
Executes a provided function once for each entity in the adapter.
The function to execute for each entity. It accepts two arguments: the current entity value and the index of the entity in the adapter.
Applies a mapping function to each value of an entity adapter and returns an array of the mapped values.
The mapping function to be applied to each value. It takes two arguments: the value itself and its index in the entity adapter.
An array containing the mapped values.
Refreshes the content of the page.
This method has no return value.
Removes the specified item from the collection.
The item to be removed from the collection.
Removes all elements from the collection.
Removes an entity from the collection by its id.
The id of the entity to be removed.
Sets the data for the items.
An array of items to be set as the data.
Checks if any of the elements in the array satisfies the provided predicate.
The predicate function to be executed for each element in the array. It takes two parameters: - value: The current element being processed. - idx: The index of the current element being processed. The function should return a boolean value indicating whether the element satisfies the condition.
Converts the collection into an array.
An array containing the elements of the collection.
An interface representing a collection adapter.