diff options
Diffstat (limited to 'History.java')
| -rw-r--r-- | History.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/History.java b/History.java new file mode 100644 index 0000000..32b8598 --- /dev/null +++ b/History.java @@ -0,0 +1,16 @@ +import java.util.Vector; + +public class History { + private Vector<String> hist; + + History() { + hist = new Vector<String>(); + } + + public void addHistory(String h) { + hist.add(h); + } + public Vector<String> getHistory() { + return hist; + } +} |
