mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 20:55:31 +00:00
51 lines
1.1 KiB
Java
51 lines
1.1 KiB
Java
package com.sap.sailing.domain.statistics;
|
|
|
|
import com.sap.sailing.domain.base.Competitor;
|
|
import com.sap.sailing.domain.common.Distance;
|
|
import com.sap.sailing.domain.common.Speed;
|
|
import com.sap.sse.common.TimePoint;
|
|
import com.sap.sse.common.Util.Triple;
|
|
|
|
/**
|
|
* A {@link Statistics} object represents several statistical information.
|
|
*/
|
|
public interface Statistics {
|
|
|
|
/**
|
|
* @return the number of competitors
|
|
*/
|
|
int getNumberOfCompetitors();
|
|
|
|
/**
|
|
* @return the number of regattas
|
|
*/
|
|
int getNumberOfRegattas();
|
|
|
|
/**
|
|
* @return the number of races
|
|
*/
|
|
int getNumberOfRaces();
|
|
|
|
/**
|
|
* @return the number of tracked races
|
|
*/
|
|
int getNumberOfTrackedRaces();
|
|
|
|
/**
|
|
* @return the number of GPS fixes
|
|
*/
|
|
long getNumberOfGPSFixes();
|
|
|
|
/**
|
|
* @return the number of wind fixes
|
|
*/
|
|
long getNumberOfWindFixes();
|
|
|
|
/**
|
|
* @return the totally sailed {@link Distance}; never {@code null}
|
|
*/
|
|
Distance getDistanceTraveled();
|
|
|
|
Triple<Competitor, Speed, TimePoint> getMaxSpeed();
|
|
}
|