Interface ComparableMeasurement
-
- All Superinterfaces:
Comparable<ComparableMeasurement>
,TimeStamped
- All Known Subinterfaces:
ObservedMeasurement<T>
- All Known Implementing Classes:
AbstractMeasurement
,AngularAzEl
,AngularRaDec
,BistaticRange
,BistaticRangeRate
,EstimatedMeasurement
,EstimatedMeasurementBase
,FDOA
,GroundReceiverMeasurement
,InterSatellitesPhase
,InterSatellitesRange
,MultiplexedMeasurement
,OneWayGNSSPhase
,OneWayGNSSRange
,Phase
,Position
,PV
,Range
,RangeRate
,TDOA
,TurnAroundRange
public interface ComparableMeasurement extends TimeStamped, Comparable<ComparableMeasurement>
Base interface for comparing measurements regardless of their type.- Since:
- 9.2
- Author:
- Luc Maisonobe
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default int
compareTo(ComparableMeasurement other)
double[]
getObservedValue()
Get the observed value.-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom, getDate
-
-
-
-
Method Detail
-
getObservedValue
double[] getObservedValue()
Get the observed value.The observed value is the value that was measured by the instrument.
- Returns:
- observed value
-
compareTo
default int compareTo(ComparableMeasurement other)
Measurements comparison is primarily chronological, but measurements with the same date are sorted based on the observed value. Even if they have the same value too, they will not be considered equal if they correspond to different instances. This allows to store measurements in
SortedSet
without losing any measurements, even redundant ones.- Specified by:
compareTo
in interfaceComparable<ComparableMeasurement>
-
-