This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Implementation of Arrays.asList( .. ) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Implementation of Arrays.asList( .. )" Watch "Implementation of Arrays.asList( .. )" New topic

Implementation of Arrays.asList( .. )

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 776

While dissecting the Arrays class, I noticed that the varags is type compatible with Collection<? extends E>.

I always thought of "a" as T[].
Any thoughts ?
Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 776

Looks like I pulled the trigger a little too fast.
The ArrayList type is a custom subclass within
Have you checked out Aspose?
subject: Implementation of Arrays.asList( .. )
It's not a secret anymore!