setPart method
- required int index,
- required MutablePart mutablePart,
Replace a part in the mutable part collection at the specified part index.
Parameters:
index
— Zero-based index of the part.mutablePart
— Collection of segments representing the part.