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(ExtensionDescription description, FormatType formatType, long 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.Long> formatter)
FormatType
getFormatType()
long
getRawValue()
-
-
-
Constructor Detail
-
ExtensionNumberData
public ExtensionNumberData(ExtensionDescription description, FormatType formatType, long 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
.
-
getFormatType
public FormatType getFormatType()
-
getFormattedValue
public java.lang.String getFormattedValue(Formatter<java.lang.Long> formatter)
-
getRawValue
public long getRawValue()
-
-