Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Turn An Array Into A Collection

DZone's Guide to

Turn An Array Into A Collection

· ·
Free Resource

String[] array = ...;
List
  
    list = Arrays.asList( array );

  
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}