Top Constructors Methods
tech.units.indriya.quantity.time

public Class TimedQuantityData<Q extends Quantity<Q>>

extends TimedData<Quantity<Q extends Quantity<Q>>>
Class Inheritance
Imports
javax.measure.Quantity

Constructor Summary

AccessConstructor and Description
protected
TimedQuantityData(Quantity<Q> value, long time)

Method Summary

Modifier and TypeMethod and Description
public static <
the quantity of the value
Q extends Quantity<Q>
>
TimedQuantityData<Q>

Returns:

an TimedQuantityData with the given values
of
(Quantity<Q>
The value for the timed data.
quant
,
long
The timestamp.
time
)

Hides tech.units.indriya.quantity.time.TimedData.of.

Returns a TimedQuantityData with the specified values.

Inherited from tech.units.indriya.quantity.time.TimedData:
equalsgetgetInstantgetNamegetTimestamphashCodeoftoString

Constructor Detail

TimedQuantityDataback to summary
protected TimedQuantityData(Quantity<Q> value, long time)

Method Detail

ofback to summary
public static <Q extends Quantity<Q>> TimedQuantityData<Q> of(Quantity<Q> quant, long time)

Hides tech.units.indriya.quantity.time.TimedData.of.

Returns a TimedQuantityData with the specified values.

Parameters
<Q>
the quantity of the value
quant:Quantity<Q>

Doc from tech.units.indriya.quantity.time.TimedData.of.

The value for the timed data.

time:long

The timestamp.

Returns:TimedQuantityData<Q>

an TimedQuantityData with the given values