ui.Map.Linker.reset
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ersetzt alle Elemente in der Liste durch eine neue Liste oder entfernt alle Elemente aus der Liste, wenn keine Liste angegeben wird.
Gibt die Elemente in der Liste zurück, nachdem das Zurücksetzen angewendet wurde.
Nutzung | Ausgabe |
---|
Linker.reset(list) | List<Object> |
Argument | Typ | Details |
---|
So gehts: ui.data.activelist | ui.data.ActiveList | Die ui.data.ActiveList-Instanz. |
list | List<Object>, optional | Eine Liste mit Elementen. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003ereset\u003c/code\u003e method replaces all elements in a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e with a new list, or removes all elements if no new list is provided.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the elements present in the list after the reset operation.\u003c/p\u003e\n"],["\u003cp\u003eThe method can be called on a \u003ccode\u003eui.data.ActiveList\u003c/code\u003e instance using \u003ccode\u003eLinker.reset(list)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAn optional 'list' argument of type List can be provided to specify the new elements.\u003c/p\u003e\n"]]],["The function `reset` replaces all elements within an `ActiveList` instance with a new list. If no new list is provided, it removes all existing elements. It operates on an `ActiveList` object and accepts an optional list of elements as its argument. The function returns the `ActiveList` containing the elements after the reset operation has been completed.\n"],null,["# ui.Map.Linker.reset\n\n\u003cbr /\u003e\n\nReplaces all elements in list with a new list or, if no list is provided, removes all elements from list.\n\n\u003cbr /\u003e\n\nReturns the elements in the list after the reset is applied.\n\n| Usage | Returns |\n|--------------------------|----------------|\n| Linker.reset`(`*list*`)` | List\\\u003cObject\\\u003e |\n\n| Argument | Type | Details |\n|----------------------------|--------------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `list` | List\\\u003cObject\\\u003e, optional | A list of elements. |"]]