ee.List.containsAll
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחזירה את הערך True אם הרשימה מכילה את כל הרכיבים של other, ללא קשר לסדר.
שימוש | החזרות |
---|
List.containsAll(other) | בוליאני |
ארגומנט | סוג | פרטים |
---|
זה: list | רשימה | |
other | רשימה | |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eReturns \u003ccode\u003etrue\u003c/code\u003e only if the original list contains every single element in the \u003ccode\u003eother\u003c/code\u003e list, ignoring element ordering.\u003c/p\u003e\n"],["\u003cp\u003eThis method compares two lists and provides a boolean indicating whether one completely encompasses the other.\u003c/p\u003e\n"],["\u003cp\u003eAccepts two arguments: the original list (\u003ccode\u003ethis: list\u003c/code\u003e) and the comparison list (\u003ccode\u003eother\u003c/code\u003e).\u003c/p\u003e\n"]]],["The `List.containsAll(other)` function checks if a list (`list`) contains all elements present in another list (`other`), irrespective of their order. It takes another list (`other`) as an argument. The function then returns a boolean value, `true` if all elements from `other` are present in `list`, and `false` otherwise.\n"],null,["# ee.List.containsAll\n\nReturns true if list contains all of the elements of other, regardless of order.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| List.containsAll`(other)` | Boolean |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |\n| `other` | List | |"]]