public final class DifferenceEntry extends NumberDataPointEntry
Constructor and Description |
---|
DifferenceEntry(double dPositiveValue,
double dNegativeValue)
The constructor.
|
DifferenceEntry(java.lang.Object[] oaTwoComponents)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.icu.math.BigDecimal |
getDivisor()
Returns divisor of big number.
|
java.lang.String |
getFormattedString(FormatSpecifier formatter,
com.ibm.icu.util.ULocale locale)
Returns the formatted string representation of current object by given
formatter and locale.
|
java.lang.String |
getFormattedString(java.lang.String type,
FormatSpecifier formatter,
com.ibm.icu.util.ULocale locale)
Returns the formatted string representation of current object by given
formatter and locale.
|
double |
getNegativeValue() |
java.lang.Number |
getNegativeValueNumber() |
java.lang.Number[] |
getNumberData()
Gets number data from data set.
|
double |
getPositiveValue() |
java.lang.Number |
getPositiveValueNumber() |
boolean |
isBigNumber()
Checks if values are big number.
|
boolean |
isValid()
Returns if the DataPointEntry is valid.
|
void |
setNegativeValue(double value) |
void |
setNegativeValue(java.lang.Number value) |
void |
setNumberData(java.lang.Number[] data)
Sets number data into data set.
|
void |
setPositiveValue(double value) |
void |
setPositiveValue(java.lang.Number value) |
java.lang.String |
toString() |
public DifferenceEntry(double dPositiveValue, double dNegativeValue)
public DifferenceEntry(java.lang.Object[] oaTwoComponents)
oaTwoComponents
- public java.lang.String toString()
toString
in class java.lang.Object
public final double getPositiveValue()
public final java.lang.Number getPositiveValueNumber()
public final void setPositiveValue(double value)
value
- The positive value to set.public final void setPositiveValue(java.lang.Number value)
public final double getNegativeValue()
public final java.lang.Number getNegativeValueNumber()
public final void setNegativeValue(double value)
end
- The negative value to set.public final void setNegativeValue(java.lang.Number value)
public java.lang.String getFormattedString(java.lang.String type, FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)
IDataPointEntry
type
- data point typeformatter
- An formatterlocale
- Specific locale.#getDataPointTypes()
public java.lang.String getFormattedString(FormatSpecifier formatter, com.ibm.icu.util.ULocale locale)
IDataPointEntry
formatter
- An formatterlocale
- Specific locale.public boolean isValid()
IDataPointEntry
public boolean isBigNumber()
public com.ibm.icu.math.BigDecimal getDivisor()
public void setNumberData(java.lang.Number[] data)
NumberDataPointEntry
setNumberData
in class NumberDataPointEntry
public java.lang.Number[] getNumberData()
NumberDataPointEntry
getNumberData
in class NumberDataPointEntry
Copyright © 2005-2008 Actuate Corp. All rights reserved.