/** * Converts Strings to Word * * @author Alexander Schaap * */ public class WordCommandCharArray implements WordCommandInterface { @Override public WordInterface convert(String s) { return new Word(new CharArray(s)); } }