import java.util.Observer; /** * Prints and returns the contents of a given LineStorage. * * Secret: output mechanism. * * @author Alexander Schaap * */ public interface OutputInterface extends Observer { /** * Outputs the contents of the given line storage. * * @param sls */ public void print(); /** * Set the storage to be printed. * * @param sls */ public void connect( StorageInterface>>> sls); public String getResult(); public void reset(); }