Class TimeSeries.Entry

java.lang.Object
org.jdrupes.vmoperator.vmconlet.TimeSeries.Entry
Enclosing class:
TimeSeries

public static class TimeSeries.Entry extends Object
The Class Entry.
  • Constructor Details

    • Entry

      public Entry(Instant time, Number... numbers)
      Instantiates a new entry.
      Parameters:
      time - the time
      numbers - the numbers
  • Method Details

    • getTime

      public Instant getTime()
      Returns the entry’s time.
      Returns:
      the instant
    • getValues

      public Number[] getValues()
      Returns the values.
      Returns:
      the number[]
    • valuesEqual

      public boolean valuesEqual(TimeSeries.Entry other)
      Returns true if both entries have the same values.
      Parameters:
      other - the other
      Returns:
      true, if successful