MCPcopy Create free account
hub / github.com/amazon-ion/ion-java / set

Method set

src/main/java/com/amazon/ion/IonSequence.java:174–174  ·  view source on GitHub ↗

Replaces the element at the specified position in this list with the specified element. @param index index of the element to replace. @param element element to be stored at the specified position. @return the element previously at the specified index. @throws UnsupportedOperationException if thi

(int index, IonValue element)

Source from the content-addressed store, hash-verified

172 * if the index is out of range ({@code index < 0 || index >= size()}).
173 */
174 public IonValue set(int index, IonValue element);
175
176
177 /**

Implementers 1

IonSequenceLitesrc/main/java/com/amazon/ion/impl/lite

Calls

no outgoing calls