// Zorah Fung, CSE 143 // An interface for an ordered list of integers // // This interface allows clients to write general methods that work // with any class that implements IntList // // Read more about Java's List interface: // http://docs.oracle.com/javase/8/docs/api/java/util/List.html public interface IntList { public void add(int value); public void add(int index, int value); public int remove(int index); public int get(int index); public void set(int index, int value); public int indexOf(int value); public boolean isEmpty(); public boolean contains(int value); public int size(); }