Module life.expert

Enum ConvertBigDecimal

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ConvertBigDecimal>, java.lang.constant.Constable

    public enum ConvertBigDecimal
    extends java.lang.Enum<ConvertBigDecimal>
    This enumeration provides general utility functions supporting conversion of number types to BigDecimal.
    • Nested Class Summary

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

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

      Enum Constants 
      Enum Constant Description
      BIGDECIMAL
      Conversion from BigDecimal.
      BIGDECIMAL_EXTENDS
      Conversion from BigDecimal, extended.
      BIGINTEGER
      Conversion from BigInteger.
      DEFAULT
      Default conversion based on String, if everything else failed.
      FLUCTUAGE
      Conversion for floating point numbers.
      INTEGER
      Conversion from integral numeric types, short, int, long.
      NUMBERVALUE
      Conversion from NumberValue.
    • Method Summary

      Modifier and Type Method Description
      static ConvertBigDecimal valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ConvertBigDecimal[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • INTEGER

        public static final ConvertBigDecimal INTEGER
        Conversion from integral numeric types, short, int, long.
      • FLUCTUAGE

        public static final ConvertBigDecimal FLUCTUAGE
        Conversion for floating point numbers.
      • BIGINTEGER

        public static final ConvertBigDecimal BIGINTEGER
        Conversion from BigInteger.
      • NUMBERVALUE

        public static final ConvertBigDecimal NUMBERVALUE
        Conversion from NumberValue.
      • BIGDECIMAL

        public static final ConvertBigDecimal BIGDECIMAL
        Conversion from BigDecimal.
      • BIGDECIMAL_EXTENDS

        public static final ConvertBigDecimal BIGDECIMAL_EXTENDS
        Conversion from BigDecimal, extended.
      • DEFAULT

        public static final ConvertBigDecimal DEFAULT
        Default conversion based on String, if everything else failed.
    • Method Detail

      • values

        public static ConvertBigDecimal[] 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 ConvertBigDecimal valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null