summaryrefslogtreecommitdiff
path: root/src/Q10/TrainTimeTable.java
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2019-08-11 18:43:24 -0600
committermo khan <mo@mokhan.ca>2019-08-11 18:43:24 -0600
commit6c1fd4723cd604dafd495993303cb844894752b7 (patch)
tree5737b0bdb75a13f8b94117b2004b38a99b45de48 /src/Q10/TrainTimeTable.java
parentae42b62aa6e75c172e450ab397ab902c40697b9b (diff)
autofmt
Diffstat (limited to 'src/Q10/TrainTimeTable.java')
-rw-r--r--src/Q10/TrainTimeTable.java7
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 =