ee.List.getArray
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את המערך במיקום שצוין ברשימה. אינדקס שלילי סופר אחורה מסוף הרשימה. אם הערך הוא לא מערך, תופיע שגיאה.
שימוש | החזרות |
---|
List.getArray(index) | מערך |
ארגומנט | סוג | פרטים |
---|
זה: list | רשימה | |
index | מספר שלם | |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eThe \u003ccode\u003eList.getArray()\u003c/code\u003e function retrieves the array located at a specific position (index) within a list.\u003c/p\u003e\n"],["\u003cp\u003eNegative index values can be used to access arrays by counting backward from the end of the list.\u003c/p\u003e\n"],["\u003cp\u003eAn error will be thrown if the value at the specified index is not an array.\u003c/p\u003e\n"],["\u003cp\u003eThe function requires a list and an integer representing the index as input.\u003c/p\u003e\n"],["\u003cp\u003eThe output of the function is the array found at the specified index within the list.\u003c/p\u003e\n"]]],[],null,["# ee.List.getArray\n\nReturns the array at the specified position in list. A negative index counts backwards from the end of the list. If the value is not a array, an error will occur.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| List.getArray`(index)` | Array |\n\n| Argument | Type | Details |\n|--------------|---------|---------|\n| this: `list` | List | |\n| `index` | Integer | |"]]