目录

PaceSummary

Class Info

public class PaceSummary

Pace summary class.

Public Constructor Summary

Constructor Name

PaceSummary()

Builder for PaceSummary.

Public Method Summary

Qualifier and Type

Method Name and Description

Double

getAvgPace()

Obtains the average pace.

Double

getBestPace()

Obtains the optimal pace.

Map<String, Double>

getPaceMap()

Obtains the pace per kilometer.

Map<String, Double>

getPartTimeMap()

Obtains the segment data table in the metric system.

Map<String, Double>

getSportHealthPaceMap()

Obtains the pace records.

void

setAvgPace(Double avgPace)

Sets the average pace.

void

setBestPace(Double bestPace)

Sets the optimal pace.

void

setPaceMap(Map<String, Double> paceMap)

Sets the pace per kilometer.

void

setPartTimeMap(Map<String, Double> partTimeMap)

Sets the segment data table in the metric system.

Public Constructors

[h2]PaceSummary()

Constructor

public PaceSummary()

Builder for PaceSummary.

Public Methods

[h2]getAvgPace()

Method

public Double getAvgPace()

Obtains the average pace.

Returns

Type

Description

Double

Average pace.

[h2]getBestPace()

Method

Public Double getBestPace()

Obtains the optimal pace.

Returns

Type

Description

Double

Optimal pace.

[h2]getPaceMap()

Method

public Map<String, Double> getPaceMap()

Obtains the pace per kilometer.

Returns

Type

Description

Map<String, Double>

Pace per kilometer.

[h2]getPartTimeMap()

Method

public Map<String, Double> getPartTimeMap()

Obtains the segment data table in the metric system.

Returns

Type

Description

Map<String, Double>

Segment data table in the metric system.

[h2]getSportHealthPaceMap()

Method

public Map<String, Double> getSportHealthPaceMap()

Obtains the pace records.

Returns

Type

Description

Map<String, Double>

Pace records.

[h2]setAvgPace(Double avgPace)

Method

public void setAvgPace(Double avgPace)

Sets the average pace.

Parameters

Name

Description

avgPace

Average pace.

[h2]setBestPace(Double bestPace)

Method

public void setBestPace(Double bestPace)

Sets the optimal pace.

Parameters

Name

Description

bestPace

Optimal pace.

[h2]setPaceMap(Map<String, Double> paceMap)

Method

public void setPaceMap(Map<String, Double> paceMap)

Sets the pace per kilometer.

Parameters

Name

Description

paceMap

Pace per kilometer.

[h2]setPartTimeMap(Map<String, Double> partTimeMap)

Method

public void setPartTimeMap(Map<String, Double> partTimeMap)

Sets the segment data table in the metric system.

Parameters

Name

Description

partTimeMap

Segment data table in the metric system.