// Allison Obourn // CSE 143 - lecture 27 // This interface describes all of the methods that a list should have. // today we made it extend the iterable interface so we can use for each loops import java.util.*; public interface List extends Iterable { public void add(E value); public void add(int index, E value); public E get(int index); public int indexOf(E value); public boolean isEmpty(); public void set(int index, E value); public int size(); public void remove(int index); public Iterator iterator(); }