CyclingPedalingCadenceRecord.Sample


public final class CyclingPedalingCadenceRecord.Sample


Represents a single measurement of the cycling pedaling cadence.

Summary

Public constructors

Sample(
    @NonNull Instant time,
    @FloatRange(from = 0.0, to = 10000.0) double revolutionsPerMinute
)

Public methods

boolean
equals(Object other)
final double

Cycling revolutions per minute.

final @NonNull Instant

The point in time when the measurement was taken.

int
@NonNull String

Public constructors

Sample

Added in 1.1.0-alpha10
public Sample(
    @NonNull Instant time,
    @FloatRange(from = 0.0, to = 10000.0) double revolutionsPerMinute
)
Parameters
@NonNull Instant time

The point in time when the measurement was taken.

@FloatRange(from = 0.0, to = 10000.0) double revolutionsPerMinute

Cycling revolutions per minute. Valid range: 0-10000.

Public methods

equals

public boolean equals(Object other)

getRevolutionsPerMinute

Added in 1.1.0-alpha10
public final double getRevolutionsPerMinute()

Cycling revolutions per minute. Valid range: 0-10000.

getTime

Added in 1.1.0-alpha10
public final @NonNull Instant getTime()

The point in time when the measurement was taken.

hashCode

public int hashCode()

toString

public @NonNull String toString()