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(ExtensionDescriptive descriptive, double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionDescriptive
getDescriptive()
Get Descriptive information about the data point.java.lang.String
getFormattedValue(Formatter<java.lang.Double> formatter)
double
getRawValue()
-
-
-
Constructor Detail
-
ExtensionDoubleData
public ExtensionDoubleData(ExtensionDescriptive descriptive, double value)
-
-
Method Detail
-
getDescriptive
public ExtensionDescriptive getDescriptive()
Description copied from interface:DescribedExtensionData
Get Descriptive information about the data point.- Specified by:
getDescriptive
in interfaceDescribedExtensionData
- Returns:
- a
ExtensionDescriptive
.
-
getFormattedValue
public java.lang.String getFormattedValue(Formatter<java.lang.Double> formatter)
-
getRawValue
public double getRawValue()
-
-