Skip to content

Instantly share code, notes, and snippets.

@anhnguyen1618
Created September 7, 2016 21:05
Show Gist options
  • Save anhnguyen1618/f0216e18f24795d34a9804cf0c64562e to your computer and use it in GitHub Desktop.
Save anhnguyen1618/f0216e18f24795d34a9804cf0c64562e to your computer and use it in GitHub Desktop.
public class Changer {
private ArrayList<Change> changes;
public Changer(){
this.changes=new ArrayList<Change>();
}
public void addChange(Change change){
this.changes.add(change);
}
public String change(String word){
for (Change Change : changes) {
word = Change.change(word);
}
return word;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment