Package it.tdlight.jni
Class TdApi.StatisticalValue
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.StatisticalValue
- Enclosing class:
- TdApi
public static class TdApi.StatisticalValue extends TdApi.Object
A value with information about its recent changes.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
double
growthRatePercentage
The growth rate of the value, as a percentage.double
previousValue
The value for the previous day.double
value
The current value. -
Constructor Summary
Constructors Constructor Description StatisticalValue()
A 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)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-