Package com.e1c.langtool.internal.stat
Class PersistentStatistics
java.lang.Object
com.e1c.langtool.internal.stat.PersistentStatistics
- All Implemented Interfaces:
Statistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetMetricPercentage(Metric metric, TranslateLanguage language) Gets the metric percentage compared to the base value.intgetMetricValue(Metric metric) Gets the metric value.getMetricValue(Metric metric, TranslateLanguage language) Gets the metric value.
-
Constructor Details
-
PersistentStatistics
-
-
Method Details
-
getMetricValue
Description copied from interface:StatisticsGets the metric value.- Specified by:
getMetricValuein interfaceStatistics- Parameters:
metric- the metric of metric, cannot returnnull.- Returns:
- the metric value
-
getMetricValue
Description copied from interface:StatisticsGets the metric value.- Specified by:
getMetricValuein interfaceStatistics- Parameters:
metric- the metric, cannot returnnull.language- the language, cannot returnnull.- Returns:
- the translation progress, can be
null
-
getMetricPercentage
Description copied from interface:StatisticsGets the metric percentage compared to the base value.- Specified by:
getMetricPercentagein interfaceStatistics- Parameters:
metric- the metric, cannot returnnull.language- the language, cannot returnnull.- Returns:
- the metric percentage
-