Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ui.data.ActiveList.get
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Menampilkan elemen pada indeks yang ditentukan.
Penggunaan | Hasil |
---|
ActiveList.get(index) | Objek |
Argumen | Jenis | Detail |
---|
ini: ui.data.activelist | ui.data.ActiveList | Instance ui.data.ActiveList. |
index | Angka | Indeks elemen yang akan ditampilkan. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eget\u003c/code\u003e method retrieves the element located at the given index within an ActiveList.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts the \u003ccode\u003eindex\u003c/code\u003e as a numerical argument, specifying the element's position.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns the element found at the specified index, which can be of any object type.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is accessed through an instance of the \u003ccode\u003eui.data.ActiveList\u003c/code\u003e object using the \u003ccode\u003eget\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `get(index)` method of `ui.data.ActiveList` returns an element (Object) located at a specific index (Number). The method takes the `ui.data.ActiveList` instance itself as context (`this`) and the desired `index` as its argument. This function retrieves and returns the object stored at that particular index within the ActiveList.\n"],null,["# ui.data.ActiveList.get\n\n\u003cbr /\u003e\n\nReturns the element at the specified index.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------|---------|\n| ActiveList.get`(index)` | Object |\n\n| Argument | Type | Details |\n|----------------------------|--------------------|-------------------------------------|\n| this: `ui.data.activelist` | ui.data.ActiveList | The ui.data.ActiveList instance. |\n| `index` | Number | The index of the element to return. |"]]