| Modifier and Type | Field and Description |
|---|---|
| protected static final int | FALSE_HASH
Optimizes out a function call for a const result |
| private static final int | |
| protected static final int | TRUE_HASH
Optimizes out a function call for a const result |
| 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 boolean | booleanValue()
Implements com. Gets the value of this Ion |
| public IonBoolLite | clone()
Implements abstract com. Implements com. Creates a copy of this value and all of its children. |
| public IonType | |
| pack-priv int | |
| pack-priv int | scalarHashCode()
Implements abstract com. Internal HashCode implementation to be overridden by scalar subclasses. |
| public void | setValue(boolean
the new value for this b)bool.Implements com. Sets this instance to have a specific value. |
| public void | setValue(Boolean
the new value for this b)bool;
may be null to make this null.bool.Implements com. Sets this instance to have a specific 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. |
| FALSE_HASH | back to summary |
|---|---|
| protected static final int FALSE_HASH Optimizes out a function call for a const result | |
| HASH_SIGNATURE | back to summary |
|---|---|
| private static final int HASH_SIGNATURE | |
| TRUE_HASH | back to summary |
|---|---|
| protected static final int TRUE_HASH Optimizes out a function call for a const result | |
| IonBoolLite | back to summary |
|---|---|
| pack-priv IonBoolLite(ContainerlessContext context, boolean isNull) Constructs a null bool value. | |
| IonBoolLite | back to summary |
|---|---|
| pack-priv IonBoolLite(IonBoolLite 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
| |
| booleanValue | back to summary |
|---|---|
| public boolean booleanValue() throws NullValueException Implements com. Doc from com. Gets the value of this Ion
| |
| clone | back to summary |
|---|---|
| public IonBoolLite 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
| |
| getTypeSlow | back to summary |
|---|---|
| public IonType getTypeSlow() Implements abstract com.
| |
| hashSignature | back to summary |
|---|---|
| pack-priv int hashSignature() Implements abstract com.
| |
| 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(boolean b) Implements com. Doc from com. Sets this instance to have a specific value.
| |
| setValue | back to summary |
|---|---|
| public void setValue(Boolean b) Implements com. Doc from com. Sets this instance to have a specific value.
| |
| 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.
| |