diff options
| author | mo khan <mo@mokhan.ca> | 2019-08-11 18:34:29 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2019-08-11 18:34:29 -0600 |
| commit | ae42b62aa6e75c172e450ab397ab902c40697b9b (patch) | |
| tree | b519030b8be96c207433856eb7724af030779e92 /src/Q10 | |
| parent | d4932bfe4b6468fb4622bc9d6765d30c44d7edeb (diff) | |
fix javadoc
Diffstat (limited to 'src/Q10')
| -rw-r--r-- | src/Q10/TrainTimeTable.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/Q10/TrainTimeTable.java b/src/Q10/TrainTimeTable.java index 8c16ac8..201f7d2 100644 --- a/src/Q10/TrainTimeTable.java +++ b/src/Q10/TrainTimeTable.java @@ -19,7 +19,10 @@ public class TrainTimeTable { this(new LinkedList<Station>()); } - /** An overloaded constructor to allow injections of each of the stations in the schedule. */ + /** + * 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; } @@ -49,6 +52,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) { out.println(String.format("%15s | %7s | %9s | %3s", "Station", "Arrival", "Departure", "Day")); @@ -72,7 +76,10 @@ public class TrainTimeTable { return null; } - /** This is the main entry point to the console application. */ + /** + * 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 = |
