package rebelsky.lists; /** * Sorted lists: lists in which the elements are iterated in * "sorted order" (from smallest to largest). * * @author CSC152 2005S */ public interface SortedList extends SimpleList { /** * Add an object "at the appropriate place" in the list. */ public void add(T addMe); /** * Remove an object from the list. Removes all objects * equal to getRidOfMe. */ public void remove(T getRidOfMe); } // interface SortedList