dcsimg

How do I use an array with the Collections Framework?

John Zukowski

The Arrays.asList() method provides a fixed-length List view of an array, where changes to the List are stored in the original array. The Arrays class also provides additional support methods for sorting and searching an array.