| Modifier and Type | Field and Description |
|---|---|
| private BigInteger | |
| private long | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final BigInteger | |
| private static final BigInteger | |
| private static final IntegerSize[] |
| 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 BigInteger | bigIntegerValue()
Implements com. Gets the content of this Ion |
| public IonIntLite | clone()
Implements abstract com. Implements com. Creates a copy of this value and all of its children. |
| private void | |
| private void | |
| public IntegerSize | getIntegerSize()
Implements com. Gets an |
| public IonType | |
| pack-priv int | |
| public int | intValue()
Implements com. Gets the content of this Ion |
| public boolean | isNumericValue()
Implements com. Determines whether this value is numeric. |
| public long | longValue()
Implements com. Gets the content of this Ion |
| pack-priv int | scalarHashCode()
Implements abstract com. Internal HashCode implementation to be overridden by scalar subclasses. |
| private void | |
| public void | |
| public void | |
| public void | setValue(Number
the new content of this int;
may be value)null to make this null.int.Implements com. Sets the content of this value. |
| 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. |
| _big_int_value | back to summary |
|---|---|
| private BigInteger _big_int_value | |
| _long_value | back to summary |
|---|---|
| private long _long_value | |
| HASH_SIGNATURE | back to summary |
|---|---|
| private static final int HASH_SIGNATURE | |
| INT_SIZE_MASK | back to summary |
|---|---|
| private static final int INT_SIZE_MASK | |
| INT_SIZE_SHIFT | back to summary |
|---|---|
| private static final int INT_SIZE_SHIFT | |
| LONG_MAX_VALUE | back to summary |
|---|---|
| private static final BigInteger LONG_MAX_VALUE | |
| LONG_MIN_VALUE | back to summary |
|---|---|
| private static final BigInteger LONG_MIN_VALUE | |
| SIZES | back to summary |
|---|---|
| private static final IntegerSize[] SIZES | |
| IonIntLite | back to summary |
|---|---|
| pack-priv IonIntLite(ContainerlessContext context, boolean isNull) Constructs a | |
| IonIntLite | back to summary |
|---|---|
| pack-priv IonIntLite(IonIntLite 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() Implements com. Doc from com. Gets the value of this Ion
| |
| bigIntegerValue | back to summary |
|---|---|
| public BigInteger bigIntegerValue() throws NullValueException Implements com. Doc from com. Gets the content of this Ion
| |
| clone | back to summary |
|---|---|
| public IonIntLite 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
| |
| doSetValue | back to summary |
|---|---|
| private void doSetValue(long value, boolean isNull) | |
| doSetValue | back to summary |
|---|---|
| private void doSetValue(BigInteger value) | |
| getIntegerSize | back to summary |
|---|---|
| public IntegerSize getIntegerSize() Implements com. Doc from com. Gets an | |
| getTypeSlow | back to summary |
|---|---|
| public IonType getTypeSlow() Implements abstract com.
| |
| hashSignature | back to summary |
|---|---|
| pack-priv int hashSignature() Implements abstract com.
| |
| intValue | back to summary |
|---|---|
| public int intValue() throws NullValueException Implements com. Doc from com. Gets the content of this Ion
| |
| 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
| |
| longValue | back to summary |
|---|---|
| public long longValue() throws NullValueException Implements com. Doc from com. Gets the content of this Ion
| |
| 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.
| |
| setSize | back to summary |
|---|---|
| private void setSize(IntegerSize size) | |
| setValue | back to summary |
|---|---|
| public void setValue(int value) Implements com. Doc from com. Sets the content of this value. | |
| setValue | back to summary |
|---|---|
| public void setValue(long value) Implements com. Doc from com. Sets the content of this value. | |
| setValue | back to summary |
|---|---|
| public void setValue(Number value) Implements com. Doc from com. Sets the content of this value. The integer portion of the number is used, any fractional portion is ignored.
| |
| 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.
| |