package rebelsky.lists; /** * Simple lists. The implementor gets to choose where to put * things. * * @author CSC152 2005S */ public interface SimpleList { /** * Add an object somewhere in the list. */ public void add(T addMe); /** * Remove an object from the list. Removes the object * last returned by the iterator. */ public T remove(Cursor position); /** * Create a new iterator for the list. */ public Cursor newCursor(); } // interface SimpleList