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 Line { | |
private final String name; | |
private final int time; | |
Line( String name,int time ) { | |
this.name = name; | |
this.time = time; | |
} | |
public String getName() { |
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 Station { | |
private final String name; | |
Station( String name ) { | |
this.name = name; | |
} | |
public String getName() { | |
return this.name; | |
} |
OlderNewer