Supplier<Q>
public class TimedQuantityData<Q extends javax.measure.Quantity<Q>> extends TimedData<javax.measure.Quantity<Q>>
Modifier | Constructor | Description |
---|---|---|
protected |
TimedQuantityData(javax.measure.Quantity<Q> value,
long time) |
Modifier and Type | Method | Description |
---|---|---|
static <Q extends javax.measure.Quantity<Q>> |
of(javax.measure.Quantity<Q> quant,
long time) |
Returns a
TimedQuantityData with the specified values. |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
equals, get, getInstant, getName, getTimestamp, hashCode, of, toString
protected TimedQuantityData(javax.measure.Quantity<Q> value, long time)
public static <Q extends javax.measure.Quantity<Q>> TimedQuantityData<Q> of(javax.measure.Quantity<Q> quant, long time)
TimedQuantityData
with the specified values.Q
- the quantity of the valueval
- The value for the timed data.time
- The timestamp.TimedQuantityData
with the given valuesCopyright © 2005–2020 Units of Measurement project. All rights reserved.