// The IntList interface defines a set of operations for an ordered collection
// (sequence) of integers. (GY edited from SR)
// An interface lists behaviors. There is no implementation of the
// behaviors (code), nor is there state (class/instance variables).
// Whereas a class can only directly extend (inherit) one parent class,
// a class can implement multiple interfaces.
public interface SimpleIntList {
public int size();
public int get(int index);
public boolean isEmpty();
public void add(int value);
public void add(int index, int value);
public void remove(int index);
public void set(int index, int value);
public void clear();
}