Class Sample

java.lang.Object
com.seeq.link.sdk.utilities.Sample

public class Sample extends Object
Represents a sample data point from a signal, with a key (time) and value (number or string).
  • Constructor Details

    • Sample

      public Sample()
  • Method Details

    • key

      public Sample key(TimeInstant key)
      Set the key of the sample
      Parameters:
      key - the new key
      Returns:
      the Sample, so multiple setters can be chained
    • value

      public Sample value(Object value)
      Set the value of the sample
      Parameters:
      value - the new value
      Returns:
      the Sample, so multiple setters can be chained
    • getKey

      public TimeInstant getKey()