ui.data.ActiveList.get
Returns the element at the specified index.
Usage | Returns |
---|
ActiveList.get(index) | Object |
Argument | Type | Details |
---|
this: ui.data.activelist | ui.data.ActiveList | The ui.data.ActiveList instance. |
index | Number | The index of the element to return. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `get` method retrieves the element located at the given index within an ActiveList."],["It accepts the `index` as a numerical argument, specifying the element's position."],["The method returns the element found at the specified index, which can be of any object type."],["This functionality is accessed through an instance of the `ui.data.ActiveList` object using the `get` method."]]],["The `get(index)` method of `ui.data.ActiveList` returns an element (Object) located at a specific index (Number). The method takes the `ui.data.ActiveList` instance itself as context (`this`) and the desired `index` as its argument. This function retrieves and returns the object stored at that particular index within the ActiveList.\n"]]