ee.List.distinct
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחזירה עותק של רשימה ללא רכיבים כפולים.
שימוש | החזרות |
---|
List.distinct() | רשימה |
ארגומנט | סוג | פרטים |
---|
זה: list | רשימה | |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-29 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-29 (שעון UTC)."],[[["\u003cp\u003e\u003ccode\u003eList.distinct()\u003c/code\u003e method returns a new list by removing duplicate elements from the original list.\u003c/p\u003e\n"],["\u003cp\u003eThis method operates on a \u003ccode\u003elist\u003c/code\u003e and produces a new \u003ccode\u003eList\u003c/code\u003e containing only the unique elements.\u003c/p\u003e\n"]]],[],null,["# ee.List.distinct\n\nReturns a copy of list without duplicate elements.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| List.distinct`()` | List |\n\n| Argument | Type | Details |\n|--------------|------|---------|\n| this: `list` | List | |"]]