/** * Post: all words that are exactly len letters long have been * removed from this WordList, with the order of the remaining words * unchanged. */ public void removeWordsOfLength(int len) { for(String s:myList){ if(s.length()==len){ myList.remove(s); } } }

