Package com.amazon.ion
Interface IonList
- All Superinterfaces:
Cloneable,Collection<IonValue>,IonContainer,IonSequence,IonValue,Iterable<IonValue>,List<IonValue>,SequencedCollection<IonValue>
An Ion
list value.
WARNING: This interface should not be implemented or extended by code outside of this library.
-
Field Summary
Fields inherited from interface com.amazon.ion.IonValue
EMPTY_ARRAY -
Method Summary
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.amazon.ion.IonContainer
clear, isEmpty, iterator, makeNull, remove, sizeMethods inherited from interface com.amazon.ion.IonSequence
add, add, add, add, addAll, addAll, contains, containsAll, extract, get, indexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArrayMethods inherited from interface com.amazon.ion.IonValue
accept, addTypeAnnotation, clearTypeAnnotations, equals, getContainer, getFieldId, getFieldName, getFieldNameSymbol, getSymbolTable, getSystem, getType, getTypeAnnotations, getTypeAnnotationSymbols, hashCode, hasTypeAnnotation, isNullValue, isReadOnly, makeReadOnly, removeFromContainer, removeTypeAnnotation, setTypeAnnotations, setTypeAnnotationSymbols, topLevelValue, toPrettyString, toString, toString, writeToMethods inherited from interface java.util.List
addFirst, addLast, clear, equals, getFirst, getLast, hashCode, isEmpty, iterator, removeFirst, removeLast, replaceAll, reversed, size, sort, spliterator
-
Method Details
-
clone
Description copied from interface:IonValueCreates 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 instanceIonValue.isReadOnly().The cloned value will be created in the context of the same
ValueFactoryas this instance; if you want a copy using a different factory, then useValueFactory.clone(IonValue)instead.- Specified by:
clonein interfaceIonContainer- Specified by:
clonein interfaceIonSequence- Specified by:
clonein interfaceIonValue- Throws:
UnknownSymbolException- if any part of this value has unknown text but known Sid for its field name, annotation or symbol.
-