solved s3 ex1
This commit is contained in:
parent
926029e31e
commit
c24e8efdd3
@ -9,8 +9,12 @@ public class Competitor {
|
||||
private int startNr;
|
||||
private int rank;
|
||||
|
||||
public Competitor(int startNr, String name, int jg, String country, String time) {
|
||||
// TODO: implement
|
||||
public Competitor(int startNr, String name, int jg, String country, String time) throws ParseException {
|
||||
this.startNr = startNr;
|
||||
this.name = name;
|
||||
this.jg = jg;
|
||||
this.country = country;
|
||||
this.time = this.parseTime(time);
|
||||
}
|
||||
|
||||
public void setRank(int rank) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user