struct, list, and
sexp types.Warning
This interface should not be implemented or extended by code outside of this library.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public IonContainer | clone()
Redeclares com. Creates a copy of this value and all of its children. |
| public boolean | |
| public Iterator | Returns: a new iterator, notnull.Redeclares java. Creates an iterator providing the (direct) elements of this container. |
| public void | |
| public boolean | |
| public int | Returns: the number of elements, zero ifthis.isNullValue().Returns the number of elements in this container. |
| clear | back to summary |
|---|---|
| public void clear() Clears the contents of this container (if any) and set it to empty.
If this container is an Ion
Use Warning This method is not support for instances of
| |
| clone | back to summary |
|---|---|
| public IonContainer 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
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() throws NullValueException Checks if this container is empty.
| |
| iterator | back to summary |
|---|---|
| public Iterator Redeclares java. Creates an iterator providing the (direct) elements of this container. If this is an Ion null value, then this method returns an empty iterator.
Note that iteration over a | |
| makeNull | back to summary |
|---|---|
| public void makeNull() Sets the contents of this container to an Ion
Use | |
| remove | back to summary |
|---|---|
| public boolean remove(IonValue element) Removes the given element from this container.
If this is an Ion null value, then this
method returns
Note that, unlike
| |
| size | back to summary |
|---|---|
| public int size() Returns the number of elements in this container.
| |