Interface Prefix

All Known Implementing Classes:
BinaryPrefix, MetricPrefix

public interface Prefix

A unit prefix is a specifier or mnemonic that is prepended to units of measurement to indicate multiples or fractions of the units.

Since:
2.0
Version:
0.8, 2018-04-20
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Base part of the associated factor in base^exponent representation.
    int
    Exponent part of the associated factor in base^exponent representation.
    Returns the symbol of this prefix.
  • Method Details

    • getSymbol

      String getSymbol()
      Returns the symbol of this prefix.
      Returns:
      this prefix symbol, not null.
    • getBase

      int getBase()
      Base part of the associated factor in base^exponent representation.
    • getExponent

      int getExponent()
      Exponent part of the associated factor in base^exponent representation.