Warum verwendet List.Copyof (...) eine redundante Array -Kreation?

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Warum verwendet List.Copyof (...) eine redundante Array -Kreation?

by Anonymous » 25 Aug 2025, 16:53

Die Methode java.util.list#copyof In Java 24 ruft eine andere Methode auf java.util.immutableCollections#listCopy mit dem folgenden Körper:
>

Code: Select all

    @SuppressWarnings("unchecked")
static  List listCopy(Collection

Top