diff options
Diffstat (limited to 'src/Q10/TrainTimeTable.java')
| -rw-r--r-- | src/Q10/TrainTimeTable.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Q10/TrainTimeTable.java b/src/Q10/TrainTimeTable.java index 201f7d2..da55690 100644 --- a/src/Q10/TrainTimeTable.java +++ b/src/Q10/TrainTimeTable.java @@ -21,8 +21,9 @@ public class TrainTimeTable { /** * An overloaded constructor to allow injections of each of the stations in the schedule. + * * @param schedule the list of stations - * */ + */ public TrainTimeTable(LinkedList<Station> schedule) { this.schedule = schedule; } @@ -52,6 +53,7 @@ public class TrainTimeTable { /** * An overload of displaySchedule that accepts a PrintStream to write output to different * printers. + * * @param out the output stream to write to */ public void displaySchedule(PrintStream out) { @@ -78,8 +80,9 @@ public class TrainTimeTable { /** * This is the main entry point to the console application. + * * @param args the argument vector to passed to the program. - * */ + */ public static void main(String[] args) { System.out.println("=== Question 10 ==="); LinkedList<Station> stations = |
