ee.List.remove
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Usuwa z listy pierwsze wystąpienie określonego elementu, jeśli jest on obecny.
Wykorzystanie | Zwroty |
---|
List.remove(element) | Lista |
Argument | Typ | Szczegóły |
---|
to: list | Lista | |
element | Obiekt | |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eremove()\u003c/code\u003e method eliminates the initial instance of a given element within a list.\u003c/p\u003e\n"],["\u003cp\u003eIf the target element is found, the method returns the modified list.\u003c/p\u003e\n"],["\u003cp\u003eThe method operates on a list and accepts the target element as an argument.\u003c/p\u003e\n"]]],[],null,["# ee.List.remove\n\nRemoves the first occurrence of the specified element from list, if it is present.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| List.remove`(element)` | List |\n\n| Argument | Type | Details |\n|--------------|--------|---------|\n| this: `list` | List | |\n| `element` | Object | |"]]