Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.data.ActiveList.reset
Stay organized with collections
Save and categorize content based on your preferences.
Replaces all elements in list with a new list or, if no list is provided, removes all elements from list.
Returns the elements in the list after the reset is applied.
Usage | Returns | ActiveList.reset(list) | List<Object> |
Argument | Type | Details | this: ui.data.activelist | ui.data.ActiveList | The ui.data.ActiveList instance. |
list | List<Object>, optional | A list of elements. |
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 2025-07-08 UTC.
[null,null,["Last updated 2025-07-08 UTC."],[],["The `ActiveList.reset()` method modifies an `ActiveList` instance. It either replaces all existing elements with a provided list or, if no list is given, removes all elements. The method returns the updated list after this replacement or removal. It accepts an optional `list` argument, which should be a list of elements. The target instance for this method is a `ui.data.ActiveList` object.\n"],null,[]]