摘要:
List接口 Collection接口的子接口,可以使用Collection中全部方法。 有序集合,元素有索引,元素可以重复 List:特有的常见方法:有一个共性特点就是都可以操作角标。 1,添加 void add(index,element): boolean addAll(int index, Collection c): 2,删除; Object remove(index): 3,修改: Object set(index,element): 4,获取: Object get(index): ... 阅读全文