Class ExtensionDoubleData
- java.lang.Object
-
- com.djrapitops.plan.extension.implementation.results.ExtensionDoubleData
-
- All Implemented Interfaces:
DescribedExtensionData
public class ExtensionDoubleData extends java.lang.Object implements DescribedExtensionData
Represents double data returned by a DoubleProvider or PercentageProvider method.
-
-
Constructor Summary
Constructors Constructor Description ExtensionDoubleData(ExtensionDescription description, double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionDescription
getDescription()
Get describing information about the data point.java.lang.String
getFormattedValue(Formatter<java.lang.Double> formatter)
double
getRawValue()
-
-
-
Constructor Detail
-
ExtensionDoubleData
public ExtensionDoubleData(ExtensionDescription description, double value)
-
-
Method Detail
-
getDescription
public ExtensionDescription getDescription()
Description copied from interface:DescribedExtensionData
Get describing information about the data point.- Specified by:
getDescription
in interfaceDescribedExtensionData
- Returns:
- a
ExtensionDescription
.
-
getFormattedValue
public java.lang.String getFormattedValue(Formatter<java.lang.Double> formatter)
-
getRawValue
public double getRawValue()
-
-