package arraylist; /** * Created with xgiovio.macbookair. * User: xgiovio * Date: 24/03/14 * Time: 14:29 */ //Copyright (c) 2003 Brown University, Providence, RI //Additional modifications and methods by xgiovio public interface IndexList extends Iterable { public E remove(int i) throws IndexOutOfBoundsException; public void add(int i, E e) throws IndexOutOfBoundsException; public E set(int i, E e) throws IndexOutOfBoundsException; public E get(int i) throws IndexOutOfBoundsException; public boolean isEmpty(); public int size(); }