import java.util.*;
public class ListKeyWord {
public static void main(String[] args) {
List list = new LinkedList();
for (int i = 0; i < 10; i ++) {
list.add("a" + i);
}
System.out.println(list);
list.add(3,"gaobo");
System.out.println(list);
list.set(3,"gaobo1");
System.out.println(list);
list.remove(3);
System.out.println(list);
Collections.shuffle(list);
System.out.println(list);
Collections.reverse(list);
System.out.println(list);
Collections.sort(list);
System.out.println(list);
}
}