/* * Kyle Pierce * CSE 143 * * The IntList interface defines a set of operations for an ordered collection * (sequence) of integers. */ public interface IntList extends Iterable { public int size(); public int get(int index); public int indexOf(int value); public boolean isEmpty(); public boolean contains(int value); public void add(int value); public void add(int index, int value); public void addAll(IntList other); public void remove(int index); public void removeAll(IntList other); public void set(int index, int value); public void clear(); }