| Modifier and Type | Field and Description |
|---|---|
| private Double | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ValueVisitor
will have one of its visitor)visit methods called.Implements abstract com. Implements com. Entry point for visitor pattern. |
| public BigDecimal | bigDecimalValue()
Implements com. Gets the value of this Ion |
| public IonFloatLite | clone()
Implements abstract com. Implements com. Creates a copy of this value and all of its children. |
| public double | doubleValue()
Implements com. Gets the value of this Ion |
| public float | floatValue()
Implements com. Gets the value of this Ion |
| public IonType | |
| pack-priv int | |
| public boolean | isNumericValue()
Implements com. Determines whether this value is numeric. |
| pack-priv int | scalarHashCode()
Implements abstract com. Internal HashCode implementation to be overridden by scalar subclasses. |
| public void | |
| public void | |
| public void | setValue(BigDecimal
the new value of this float;
may be value)null to make this null.float.Implements com. Sets the value of this element. |
| public void | |
| pack-priv IonValueLite | shallowClone(IonContext
the context applicable to the value's parent. context)Implements abstract com. Clones the value's annotations and field name (if any). |
| pack-priv final void | writeBodyTo(IonWriter
an IonWriter. writer, _Private_IonValue.a SymbolTableProvider. symbolTableProviderImplements abstract com. Writes a *non-null scalar* value to the given writer. |
| _float_value | back to summary |
|---|---|
| private Double _float_value | |
| HASH_SIGNATURE | back to summary |
|---|---|
| private static final int HASH_SIGNATURE | |
| IonFloatLite | back to summary |
|---|---|
| pack-priv IonFloatLite(ContainerlessContext context, boolean isNull) Constructs a | |
| IonFloatLite | back to summary |
|---|---|
| pack-priv IonFloatLite(IonFloatLite existing, IonContext context) | |
| accept | back to summary |
|---|---|
| public void accept(ValueVisitor visitor) throws Exception Implements abstract com. Implements com. Doc from com. Entry point for visitor pattern. Implementations of this method by
concrete classes will simply call the appropriate
| |
| bigDecimalValue | back to summary |
|---|---|
| public BigDecimal bigDecimalValue() throws NullValueException Implements com. Doc from com. Gets the value of this Ion
| |
| clone | back to summary |
|---|---|
| public IonFloatLite clone() Implements abstract com. Implements 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
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() throws NullValueException Implements com. Doc from com. Gets the value of this Ion
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() throws NullValueException Implements com. Doc from com. Gets the value of this Ion
| |
| getTypeSlow | back to summary |
|---|---|
| public IonType getTypeSlow() Implements abstract com.
| |
| hashSignature | back to summary |
|---|---|
| pack-priv int hashSignature() Implements abstract com.
| |
| isNumericValue | back to summary |
|---|---|
| public boolean isNumericValue() Implements com. Doc from com. Determines whether this value is numeric. Returns true if this value
is none of
| |
| scalarHashCode | back to summary |
|---|---|
| pack-priv int scalarHashCode() Implements abstract com. Doc from com. Internal HashCode implementation to be overridden by scalar subclasses. Must only be called on non-null values.
| |
| setValue | back to summary |
|---|---|
| public void setValue(float value) Implements com. Doc from com. Sets the value of this element. | |
| setValue | back to summary |
|---|---|
| public void setValue(double value) Implements com. Doc from com. Sets the value of this element. | |
| setValue | back to summary |
|---|---|
| public void setValue(BigDecimal value) Implements com. Doc from com. Sets the value of this element.
Since Ion
| |
| setValue | back to summary |
|---|---|
| public void setValue(Double d) | |
| shallowClone | back to summary |
|---|---|
| pack-priv IonValueLite shallowClone(IonContext context) Implements abstract com. Doc from com. Clones the value's annotations and field name (if any). For scalars, also clones the value. For containers, leaves the cloned container empty rather than cloning the children.
| |
| writeBodyTo | back to summary |
|---|---|
| pack-priv final void writeBodyTo(IonWriter writer, _Private_IonValue. Implements abstract com. Doc from com. Writes a *non-null scalar* value to the given writer. It is incorrect to call this method on a container value.
| |