Class DifferenceEntry

    • Constructor Detail

      • DifferenceEntry

        public DifferenceEntry​(double dPositiveValue,
                               double dNegativeValue)
        The constructor.
      • DifferenceEntry

        public DifferenceEntry​(java.lang.Object[] oaTwoComponents)
        The constructor.
        Parameters:
        oaTwoComponents -
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getPositiveValue

        public double getPositiveValue()
        Returns:
        Returns the positive value.
      • getPositiveValueNumber

        public java.lang.Number getPositiveValueNumber()
      • setPositiveValue

        public void setPositiveValue​(double value)
        Parameters:
        value - The positive value to set.
      • setPositiveValue

        public void setPositiveValue​(java.lang.Number value)
      • getNegativeValue

        public double getNegativeValue()
        Returns:
        Returns the negative value.
      • getNegativeValueNumber

        public java.lang.Number getNegativeValueNumber()
      • setNegativeValue

        public void setNegativeValue​(double value)
        Parameters:
        end - The negative value to set.
      • setNegativeValue

        public void setNegativeValue​(java.lang.Number value)
      • getFormattedString

        public java.lang.String getFormattedString​(java.lang.String type,
                                                   FormatSpecifier formatter,
                                                   com.ibm.icu.util.ULocale locale)
        Description copied from interface: IDataPointEntry
        Returns the formatted string representation of current object by given formatter and locale.
        Parameters:
        type - data point type
        formatter - An formatter
        locale - Specific locale.
        Returns:
        The string representation
        See Also:
        #getDataPointTypes()
      • getFormattedString

        public java.lang.String getFormattedString​(FormatSpecifier formatter,
                                                   com.ibm.icu.util.ULocale locale)
        Description copied from interface: IDataPointEntry
        Returns the formatted string representation of current object by given formatter and locale.
        Parameters:
        formatter - An formatter
        locale - Specific locale.
        Returns:
        The string representation
      • isValid

        public boolean isValid()
        Description copied from interface: IDataPointEntry
        Returns if the DataPointEntry is valid.
        Returns:
        value or not
      • isBigNumber

        public boolean isBigNumber()
        Checks if values are big number.
        Returns:
      • getDivisor

        public com.ibm.icu.math.BigDecimal getDivisor()
        Returns divisor of big number.
        Returns: