java基础——集合ArrayList LinkedList
目录前言数组与集合区别集合描述集合格式方法ArrayList实例1.add(E e)2.add(int index, E element)3.addAll(Collection c)4.clear() 与 isEmpty()5.contains(Object o)6.indexOf(Object o)7.iterator()8.remove(int index)9.removeAll(Collection c)10.remove(int index) 移位11.set(int index, E element)12. subList(int fromIndex, int toIndex)1
下载地址
用户评论