Convert array to List in Java

Problem

Given the following array:

Integer[] array = new Integer[] { 1, 2, 3 };

How to convert this array to a List?

Solution

List<Integer> list = Arrays.asList(array);