ui.data.ActiveList.length
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca liczbę elementów na liście.
Wykorzystanie | Zwroty |
---|
ActiveList.length() | Liczba |
Argument | Typ | Szczegóły |
---|
to: ui.data.activelist | ui.data.ActiveList | Instancja ui.data.ActiveList. |
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\u003eReturns the number of elements in the ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eThe method is called using \u003ccode\u003eActiveList.length()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt takes one argument: the ui.data.ActiveList instance.\u003c/p\u003e\n"],["\u003cp\u003eIt returns the element count as a Number.\u003c/p\u003e\n"]]],["The `ActiveList.length()` method returns the number of elements within an `ui.data.ActiveList` instance. It takes no arguments, and the `this` context is the `ui.data.ActiveList` itself. The method's sole purpose is to provide a numerical count of the elements contained within the specified ActiveList, returning a Number data type.\n"],null,["# ui.data.ActiveList.length\n\n\u003cbr /\u003e\n\nReturns the number of elements in the list.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| ActiveList.length`()` | Number |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|----------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |"]]