|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.degreedays.api.data.DataSet
public abstract class DataSet
Contains a set of degree-day data generated to fulfil a DataSpec
for
a specific Location
.
This abstract class is not designed to be extended by third-party code, which is why it does not have an accessible constructor.
All concrete subclasses of this abstract class are immutable. You can safely reuse them and call them from multiple threads at once.
Method Summary | |
---|---|
abstract DayRange |
fullRange()
Returns a non-null DayRange object indicating the period of
time that is covered by this DataSet . |
abstract double |
percentageEstimated()
Returns a number between 0 and 100 (both inclusive), indicating the overall extent to which this DataSet is based on estimated
data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract double percentageEstimated()
DataSet
is based on estimated
data.
Generally speaking, data with a lower percentage-estimated figure is likely to be more reliable than data with a higher percentage-estimated figure.
public abstract DayRange fullRange()
DayRange
object indicating the period of
time that is covered by this DataSet
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |