public class MeasurementCachePair extends Object
Constructor and Description |
---|
MeasurementCachePair(InterpolatedValue meas)
Creates a new MeasurementCachePair from the given InterpolatedValue.
|
Modifier and Type | Method and Description |
---|---|
InterpolatedValue |
getEarliest()
Returns the earliest Measurement.
|
InterpolatedValue |
getLatest()
Returns the latest Measurement.
|
void |
update(InterpolatedValue m)
Updates the earliest and latest measurements based upon the given measurement.
|
public MeasurementCachePair(InterpolatedValue meas)
meas
- The InterpolatedValue.public InterpolatedValue getEarliest()
public InterpolatedValue getLatest()
public void update(InterpolatedValue m)
m
- the measurement to check.Copyright © 2015 Collaborative Software Development Laboratory. All rights reserved.