DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Convert An Array To A List

05.26.2009
| 2603 views |
  • submit to reddit
        
Object[] array = {1,2,3};
List<Object> list = Arrays.asList(array);