Enum Class PluralRules.Operand

java.lang.Object
java.lang.Enum<PluralRules.Operand>
com.vmware.vipclient.i18n.l2.plural.parser.PluralRules.Operand
All Implemented Interfaces:
Serializable, Comparable<PluralRules.Operand>, Constable
Enclosing class:
PluralRules

public static enum PluralRules.Operand extends Enum<PluralRules.Operand>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    All visible fraction digits as an integer, including trailing zeros.
    The integer value, with the fraction digits truncated off.
    THIS OPERAND IS DEPRECATED AND HAS BEEN REMOVED FROM THE SPEC.
    The double value of the entire number.
    Visible fraction digits as an integer, not including trailing zeros.
    Number of visible fraction digits.
    Number of visible fraction digits, not including trailing zeros.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • n

      public static final PluralRules.Operand n
      The double value of the entire number.
    • i

      public static final PluralRules.Operand i
      The integer value, with the fraction digits truncated off.
    • f

      public static final PluralRules.Operand f
      All visible fraction digits as an integer, including trailing zeros.
    • t

      public static final PluralRules.Operand t
      Visible fraction digits as an integer, not including trailing zeros.
    • v

      public static final PluralRules.Operand v
      Number of visible fraction digits.
    • w

      public static final PluralRules.Operand w
      Number of visible fraction digits, not including trailing zeros.
    • j

      public static final PluralRules.Operand j
      THIS OPERAND IS DEPRECATED AND HAS BEEN REMOVED FROM THE SPEC.
  • Method Details

    • values

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

      public static PluralRules.Operand valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null