2019.3.26
class MyArrayList<T> {
public MyArrayList(){ }
public MyArrayList(T[] objects){
for(T o: objects){
add(o);
}
}
public void add(T e){ }
public void clear(){ }
public void add(int index, T e){ }
public boolean contains(Object o){return false;}
public T get(int index){return null;}
public int indexOf(Object e){return -1;}
public int lastIndexOf(Object e){return -1;}
public T remove(int index){return null;}
public T set(int index, T e){return null;}
}