mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-27 07:56:38 +00:00
Added JavaDoc to RaceListDataCalculator class
This commit is contained in:
+7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user