Interface Metric

All Superinterfaces:
Serializable
All Known Implementing Classes:
CustomMetric, Metrics

public interface Metric extends Serializable
Interface for Metrics that can be applied to a base scale.
Since:
1.8
Author:
Oliver Gierke, Thomas Darimont
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the scientific abbreviation of the unit the Metric is in.
    double
    Returns the multiplier to calculate metrics values from a base scale.
  • Method Details

    • getMultiplier

      double getMultiplier()
      Returns the multiplier to calculate metrics values from a base scale.
      Returns:
    • getAbbreviation

      String getAbbreviation()
      Returns the scientific abbreviation of the unit the Metric is in.
      Returns: