Enum TamilSanskritPrefix

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

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

  • Method Details

    • values

      public static TamilSanskritPrefix[] 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 TamilSanskritPrefix 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.