java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StatisticalValue
- Enclosing class:
- TdApi
A value with information about its recent changes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
double
The growth rate of the value, as a percentage.double
The value for the previous day.double
The current value. -
Constructor Summary
ConstructorDescriptionA value with information about its recent changes.StatisticalValue
(double value, double previousValue, double growthRatePercentage) A value with information about its recent changes.StatisticalValue
(DataInput input) A value with information about its recent changes. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
value
public double valueThe current value. -
previousValue
public double previousValueThe value for the previous day. -
growthRatePercentage
public double growthRatePercentageThe growth rate of the value, as a percentage. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
StatisticalValue
public StatisticalValue()A value with information about its recent changes. -
StatisticalValue
public StatisticalValue(double value, double previousValue, double growthRatePercentage) A value with information about its recent changes.- Parameters:
value
- double The current value.previousValue
- double The value for the previous day.growthRatePercentage
- double The growth rate of the value, as a percentage.
-
StatisticalValue
A value with information about its recent changes.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-