Added JavaDoc to RaceListDataCalculator class

This commit is contained in:
Benjamin Barth
2016-06-17 17:49:33 +02:00
parent 7a6187e92e
commit 31957dfd13
@@ -7,6 +7,10 @@ import com.google.gwt.core.shared.GwtIncompatible;
import com.sap.sailing.gwt.home.communication.event.RaceListRaceDTO;
import com.sap.sailing.gwt.home.server.EventActionUtil.RaceCallback;
/**
* {@link RaceCallback} implementation, which collects the set of {@link RaceContext#getFinishedRaceOrNull() finished
* races} to show in the respective UI sections.
*/
@GwtIncompatible
public class RaceListDataCalculator implements RaceCallback {
private final TreeSet<RaceListRaceDTO> races = new TreeSet<>();
@@ -19,6 +23,9 @@ public class RaceListDataCalculator implements RaceCallback {
}
}
/**
* @return the collected finished races
*/
public Collection<RaceListRaceDTO> getResult() {
return races;
}