Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.List.zip
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memasangkan elemen dari dua daftar untuk membuat daftar dari daftar dua elemen. Jika daftar input memiliki ukuran yang berbeda, daftar akhir akan memiliki ukuran yang sama dengan daftar terpendek.
Penggunaan | Hasil |
---|
List.zip(other) | Daftar |
Argumen | Jenis | Detail |
---|
ini: list | Daftar | |
other | Daftar | |
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\u003e\u003ccode\u003eList.zip\u003c/code\u003e combines two lists by pairing corresponding elements, creating a new list of two-element lists.\u003c/p\u003e\n"],["\u003cp\u003eThe resulting list's length is determined by the shorter of the two input lists, ensuring all elements have a pair.\u003c/p\u003e\n"]]],["Combines two lists into a single list of two-element lists, pairing corresponding elements. The resulting list's length matches the shorter of the two input lists. The `List.zip(other)` function takes two list arguments: `this`, representing the initial list, and `other`, the second list. It returns a new List containing paired elements. If the lists are of differing lengths, extra items in the longer list are not included.\n"],null,["# ee.List.zip\n\nPairs the elements of two lists to create a list of two-element lists. When the input lists are of different sizes, the final list has the same size as the shortest one.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| List.zip`(other)` | List |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |\n| `other` | List | |"]]