Class ExtensionNumberData
- java.lang.Object
-
- com.djrapitops.plan.extension.implementation.results.ExtensionNumberData
-
- All Implemented Interfaces:
DescribedExtensionData
public class ExtensionNumberData extends java.lang.Object implements DescribedExtensionData
Represents double data returned by a DoubleProvider or PercentageProvider method.
-
-
Constructor Summary
Constructors Constructor Description ExtensionNumberData(ExtensionDescriptive descriptive, FormatType formatType, long 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.Long> formatter)
FormatType
getFormatType()
long
getRawValue()
-
-
-
Constructor Detail
-
ExtensionNumberData
public ExtensionNumberData(ExtensionDescriptive descriptive, FormatType formatType, long 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
.
-
getFormatType
public FormatType getFormatType()
-
getFormattedValue
public java.lang.String getFormattedValue(Formatter<java.lang.Long> formatter)
-
getRawValue
public long getRawValue()
-
-