// ******************************************************** // Interface ListInterface for the ADT list. // ********************************************************* public interface ListInterface { public boolean isEmpty(); public int size(); public void add(int index, Object item) throws ListIndexOutOfBoundsException, ListException; public void append(Object item); public Object get(int index) throws ListIndexOutOfBoundsException; public void remove(int index) throws ListIndexOutOfBoundsException; public void delete(Object item); public void removeAll(); public int contains(Object item); public void display(); } // end ListInterface