ee.List.reverse
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Odwraca kolejność elementów na liście.
Wykorzystanie | Zwroty |
---|
List.reverse() | Lista |
Argument | Typ | Szczegóły |
---|
to: list | Lista | |
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\u003eReverses the elements of a list in place, modifying the original list.\u003c/p\u003e\n"],["\u003cp\u003eThis method does not create a new list; it directly alters the existing one, returning the modified list itself.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereverse()\u003c/code\u003e method works on any list object and takes no additional arguments beyond the list itself.\u003c/p\u003e\n"]]],[],null,["# ee.List.reverse\n\nReverses the order of the elements in list.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| List.reverse`()` | List |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |"]]