Esempio n. 1
0
 public GroupEntry(
     String name,
     String country,
     String race,
     String place,
     int matchesWon,
     int matchesLost,
     int mapsWon,
     int mapsLost,
     String result) {
   this.name = name;
   this.country = EntryUtil.getCountryFromString(country);
   this.race = EntryUtil.getRaceFromString(race);
   this.place = place != null && place.length() > 0 ? Integer.parseInt(place) : -1;
   this.matchesWon = matchesWon;
   this.matchesLost = matchesLost;
   this.mapsWon = mapsWon;
   this.mapsLost = mapsLost;
   this.result = getResultFromString(result);
 }