ee.List.zip
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
दो सूचियों के एलिमेंट को जोड़कर, दो एलिमेंट वाली सूचियों की एक सूची बनाता है. जब इनपुट सूचियों का साइज़ अलग-अलग होता है, तो फ़ाइनल सूची का साइज़ सबसे छोटी सूची के साइज़ के बराबर होता है.
इस्तेमाल | रिटर्न |
---|
List.zip(other) | सूची |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: list | सूची | |
other | सूची | |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],["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,[]]