🔹 Collection Class
namespace Noesis
Represents a generic collection of objects that can be individually accessed by index.
Properties
Collection has no properties
Attached Properties
Collection has no attached properties
Methods
| Name | Description |
|---|---|
| ◆ Add(T*) | Adds an item to the collection. Returns The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection |
| ◆ Contains(const T*) | Determines whether the collection contains a specific value |
| ◆ Get(uint32_t) | Gets the element at the specified index |
| ◆ IndexOf(const T*) | Determines the index of a specific item in the collection. Returns -1 if not found |
| ◆ Insert(uint32_t, T*) | Inserts an item to the collection at the specified index |
| ◆ Remove(const T*) | Removes the first occurrence of a specific object from the collection. Returns true if item was removed, false to indicate that the item was not found in the collection |
| ◆ Set(uint32_t, T*) | Sets the element at the specified index |
Events
Collection has no events
📍 On this page