Created
September 7, 2016 21:05
-
-
Save anhnguyen1618/f0216e18f24795d34a9804cf0c64562e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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