Class TimedQuantityData<Q extends Quantity<Q>>

    • Method Detail

      • of

        public static <Q extends Quantity<Q>> TimedQuantityData<Q> of​(Quantity<Q> quant,
                                                                      long time)
        Returns a TimedQuantityData with the specified values.
        Type Parameters:
        Q - the quantity of the value
        Parameters:
        val - The value for the timed data.
        time - The timestamp.
        Returns:
        an TimedQuantityData with the given values