You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
summary: "أنشئ نسخة ثابتة من أي مجموعة في استدعاء واحد."
explanation: "تُنشئ List.copyOf() و Set.copyOf() و Map.copyOf() نسخاً ثابتة من المجموعات الموجودة. إذا كان المصدر مجموعةً ثابتةً بالفعل فلن تُنشأ نسخة."
whyModernWins:
- icon: "⚡"
title: "نسخ ذكي"
desc: "يتجاوز النسخ إذا كان المصدر ثابتاً بالفعل."
- icon: "📏"
title: "استدعاء واحد"
desc: "لا حاجة لإنشاء ArrayList يدوياً ثم تغليفه."
- icon: "🛡️"
title: "نسخة دفاعية"
desc: "التغييرات في المصدر لا تؤثر على النسخة."
support:
description: "متاح على نطاق واسع منذ JDK 10 (مارس 2018)"