Enum TamilAncientPrefix

java.lang.Object
java.lang.Enum<TamilAncientPrefix>
systems.uom.common.historic.TamilAncientPrefix
All Implemented Interfaces:
Serializable, Comparable<TamilAncientPrefix>, java.lang.constant.Constable, javax.measure.Prefix

public enum TamilAncientPrefix
extends Enum<TamilAncientPrefix>
implements javax.measure.Prefix
Utility class holding traditional numbers of the Ancient Tamil Country, Tamizhakam.
Unit<Length> NURU_METER = METER.prefix(NURU);
Version:
1.1, $Date: 2021-03-29 $
Author:
Werner Keil
See Also:
Wikipedia: Tamil units of measurement - Whole numbers
  • Enum Constant Details

  • Method Details

    • values

      public static TamilAncientPrefix[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TamilAncientPrefix valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public Integer getValue()
      Base part of the associated factor in base^exponent representation.
      Specified by:
      getValue in interface javax.measure.Prefix
    • getExponent

      public int getExponent()
      Exponent part of the associated factor in base^exponent representation.
      Specified by:
      getExponent in interface javax.measure.Prefix
    • getName

      public String getName()
      Returns the name of this prefix.
      Specified by:
      getName in interface javax.measure.Prefix
      Returns:
      this prefix name, not null.
    • getSymbol

      public String getSymbol()
      Returns the symbol of this prefix.
      Specified by:
      getSymbol in interface javax.measure.Prefix
      Returns:
      this prefix symbol, not null.