decimal value.Warning
This interface should not be implemented or extended by code outside of this library.
| Modifier and Type | Method and Description |
|---|---|
| public BigDecimal | Returns: theBigDecimal value,
or null if this.isNullValue().Redeclares com. Gets the value of this Ion |
| public IonDecimal | clone()
Redeclares com. Creates a copy of this value and all of its children. |
| public Decimal | Returns: theDecimal value,
or null if this.isNullValue().Gets the value of this Ion |
| public double | |
| public float | |
| public void | |
| public void | |
| public void | |
| public void | setValue(BigDecimal
the new value of this decimal;
may be value)null to make this null.decimal.Sets the value of this element. |
| bigDecimalValue | back to summary |
|---|---|
| public BigDecimal bigDecimalValue() Redeclares com. Gets the value of this Ion
| |
| clone | back to summary |
|---|---|
| public IonDecimal clone() throws UnknownSymbolException Redeclares com. Doc from com. Creates a copy of this value and all of its children. The cloned value
may use the same shared symbol tables, but it will have an independent local
symbol table if necessary. The cloned value will
be modifiable regardless of whether this instance
The cloned value will be created in the context of the same
| |
| decimalValue | back to summary |
|---|---|
| public Decimal decimalValue() Gets the value of this Ion
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() throws NullValueException Gets the value of this Ion
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() throws NullValueException Gets the value of this Ion
| |
| setValue | back to summary |
|---|---|
| public void setValue(long value) Sets the value of this element. | |
| setValue | back to summary |
|---|---|
| public void setValue(float value) Sets the value of this element.
This method behaves like
| |
| setValue | back to summary |
|---|---|
| public void setValue(double value) Sets the value of this element.
This method behaves like
| |
| setValue | back to summary |
|---|---|
| public void setValue(BigDecimal value) Sets the value of this element.
To set a negative zero value, pass an
| |