Interface Sample.Derived
- All Superinterfaces:
Sample
- Enclosing interface:
Sample
Sample that does not exist as an actual observation but is derived from actual observations. E.g., mean.
Most derived sample instances have a reference to an actual sample that is an exemplar for the derived sample. Because
derived samples are typically computed from actual samples, the value is a double (rather than a long as with the actual
samples).
-
Nested Class Summary
Nested classes/interfaces inherited from interface Sample
Sample.Derived, Sample.LabeledModifier and TypeInterfaceDescriptionstatic interfaceSample that does not exist as an actual observation but is derived from actual observations.static interfaceA sample with a label and a timestamp, typically representing actual observations (rather than derived values). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Sample.DerivedA derived sample with zero value and no reference. -
Method Summary
Methods inherited from interface Sample
doubleValue
-
Field Details
-
ZERO
A derived sample with zero value and no reference.
-
-
Method Details
-
value
double value()Derived value (usually computed).- Returns:
- value
-
sample
-