set
Replace a part in the mutable part collection at the specified part index.
Return
the part that was removed.
Since
200.1.0
Parameters
index
Zero-based index of the part
element
Collection of segments representing the part.
Throws
if index is out of range.