Class Sample

  • Direct Known Subclasses:
    KeySample

    public class Sample
    extends java.lang.Object
    • Constructor Detail

      • Sample

        public Sample()
    • Method Detail

      • getTimestamp

        public long getTimestamp()
      • setTimestamp

        public void setTimestamp​(long timestamp)
      • getValue

        public double getValue()
      • setValue

        public void setValue​(double value)
      • of

        public static Sample of​(double value)
      • of

        public static Sample of​(long timestamp,
                                double value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object