List InterfaceBasics#Ordered collectionAccess by indexMay contain duplicatesIterate through Values:#use for loop directly:// List<List<Interval>> avails);for (List<Interval> employeeIntervals: avails){ for (Interval interval: employeeIntervals){ // do... }}CopyDeclare with default values:#Convert a primitive list to a List object:#Use Case 1: I know my valuesString a[] = new String[] { "A", "B", "C", "D" }; List<String> list = Arrays.asList(a); // orList<String> list2 = Arrays.asList("1", "2", "3");CopyUse Case 2: I know my length:String a[] = new String[(1 << 8) -1]; // know my lengthList<String> list = Arrays.asList(a); Copy