Documentation of 'com.yahoo.egads.data.TimeSeries' Java class
TimeSeries
com.yahoo.egads.data

Class TimeSeries

  • All Implemented Interfaces:
    JsonAble, java.io.Serializable


    public class TimeSeries
    extends java.lang.Object
    implements JsonAble, java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • TimeSeries

        public TimeSeries()
      • TimeSeries

        public TimeSeries(float[] values)
      • TimeSeries

        public TimeSeries(float value)
      • TimeSeries

        public TimeSeries(long[] times,
                          float[] values)
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • TimeSeries

        public TimeSeries(long time,
                          float value)
    • Method Detail

      • append

        public void append(long time,
                           float value)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • size

        public int size()
      • startTime

        public long startTime()
      • lastTime

        public long lastTime()
      • time

        public long time(int index)
      • value

        public float value(int index)
      • minimumPeriod

        public long minimumPeriod()
      • mostFrequentPeriod

        public long mostFrequentPeriod()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toJson

        public void toJson(JSONStringer json_out)
                    throws java.lang.Exception
        Specified by:
        toJson in interface JsonAble
        Throws:
        java.lang.Exception
      • fromJson

        public void fromJson(JSONObject json_obj)
                      throws java.lang.Exception
        Specified by:
        fromJson in interface JsonAble
        Throws:
        java.lang.Exception
      • equals

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

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.