Class Sample

  • Direct Known Subclasses:
    SeriesSample

    public class Sample
    extends Object
    Represents a sample from a time series
    • Field Detail

      • timestamp

        public final long timestamp
      • value

        public final double value
    • Constructor Detail

      • Sample

        public Sample​(long timestamp,
                      double value)
    • Method Detail

      • timestamp

        public long timestamp()
      • value

        public double value()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object