إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
Map.remove
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تزيل هذه الطريقة العنصر المحدّد من الخريطة، إذا كان متوفّرًا.
تعرِض هذه الطريقة العنصر الذي تمت إزالته أو قيمة فارغة إذا لم تتم إضافته إلى الخريطة.
الاستخدام | المرتجعات |
---|
Map.remove(item) | عنصر |
الوسيطة | النوع | التفاصيل |
---|
item | عنصر | العنصر المطلوب إزالته |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003e\u003ccode\u003eMap.remove()\u003c/code\u003e deletes a specific item from the map if it's present.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns the removed item, or null if the item wasn't in the map.\u003c/p\u003e\n"]]],["The `Map.remove(item)` function removes a specified item from a map. It takes one argument, `item`, which is the object intended for removal. The function returns the removed object if it was present in the map; otherwise, it returns `null`, indicating the item was not found. The return type is an Object. The function's purpose is to delete an entry if present and report its status.\n"],null,["# Map.remove\n\n\u003cbr /\u003e\n\nRemoves the given item from the map, if it exists.\n\n\u003cbr /\u003e\n\nReturns the removed item or null if it hadn't been added to the map.\n\n| Usage | Returns |\n|--------------------|---------|\n| `Map.remove(item)` | Object |\n\n| Argument | Type | Details |\n|----------|--------|---------------------|\n| `item` | Object | The item to remove. |"]]