Package uk.ac.starlink.ttools.plot2
Interface Ranger
-
- All Known Implementing Classes:
BasicRanger,HistoRanger
public interface RangerAccumulates a set of data values to provide range information.- Since:
- 14 Mar 2019
- Author:
- Mark Taylor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpancreateSpan()Returns an object characterising the range of data submitted so far.voidsubmitDatum(double d)Accepts a data value.
-
-
-
Method Detail
-
submitDatum
void submitDatum(double d)
Accepts a data value.- Parameters:
d- datum
-
createSpan
Span createSpan()
Returns an object characterising the range of data submitted so far. This should not be called while another thread might be callingsubmitDatum(double).- Returns:
- span of accumulated data
-
-