Iterable<E>
인터페이스를 확장상속 관계
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
ArrayList가 구현한 인터페이스
Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess
ArrayList()
ArrayList(Collection<? extends E> e)
ArrayList(int initialCapacity)
초기 사이즈는 10이다.
add(E e)
add(int index, E e)
add(Collection<? extends E> c)
add(int index, Collection<? extends E> c)
size()
get(int index)
indexOf(Object o)
lastIndexOf(Object o)
ArrayList 데이터를 배열로 옮기기
toArray()
toArray(T[] a)
clear()
remove(int index)
remove(Object o)
removeAll(Collection<?> c)