ee.List.lastIndexOfSubList
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את המיקום ההתחלתי של המופע האחרון של target בתוך list, או את הערך -1 אם אין מופע כזה.
שימוש | החזרות |
---|
List.lastIndexOfSubList(target) | מספר שלם |
ארגומנט | סוג | פרטים |
---|
זה: list | רשימה | |
target | רשימה | |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],["The `lastIndexOfSubList` function searches a list for the last occurrence of a target sublist. It takes two arguments: the main list and the target sublist. The function returns an integer representing the starting index of the target's last occurrence within the list. If the target is not found, it returns -1. The function is designed for lists and sublists.\n"],null,[]]