Interface Sample.Labeled

All Superinterfaces:
Sample
All Known Implementing Classes:
LabeledSample
Enclosing interface:
Sample

public static interface Sample.Labeled extends Sample
A sample with a label and a timestamp, typically representing actual observations (rather than derived values).
  • Nested Class Summary

    Nested classes/interfaces inherited from interface Sample

    Sample.Derived, Sample.Labeled
    Modifier and Type
    Interface
    Description
    static interface 
    Sample that does not exist as an actual observation but is derived from actual observations.
    static interface 
    A sample with a label and a timestamp, typically representing actual observations (rather than derived values).
  • Method Summary

    Modifier and Type
    Method
    Description
    Value label.
    long
    Timestamp the value was recorded.
    double
    The value.

    Methods inherited from interface Sample

    doubleValue
    Modifier and Type
    Method
    Description
    double
    Returns the value as a double.
  • Method Details

    • value

      double value()
      The value.
      Returns:
      value
    • label

      String label()
      Value label.
      Returns:
      lavel
    • timestamp

      long timestamp()
      Timestamp the value was recorded.
      Returns:
      timestamp