import java.util.Observer; /** * Implementations will sort circular shifts of words in a line and can be * invoked implicitly. * * Secret: sorting algorithm. * * @author Alexander Schaap * * @param * Type of word, necessary for WordInterface's compareTo. * */ public interface AlphabetizerInterface> extends Observer { /** * Sorting method implementing an algorithm of choice. * * Sorts a given line in-place. * * @param line * The line to be sorted. */ public void sort(StorageInterface>> line); public void connect(StorageInterface>>> sls); }