Interface Measurement<Q extends Quantity<Q>>

  • Type Parameters:
    Q - the quantity type
    All Superinterfaces:
    tech.uom.lib.common.function.QuantitySupplier<Q>, Serializable

    public interface Measurement<Q extends Quantity<Q>>
    extends tech.uom.lib.common.function.QuantitySupplier<Q>, Serializable
    A Measurement contains a Quantity and a timestamp.

    A Measurement object is used for maintaining the tuple of quantity and time-stamp. The value is represented as Quantity and the time as Instant plus long for backward-compatibility.

    Since:
    1.0
    Version:
    1.0
    Author:
    werner